Maximilian Gaß > Net-OpenXchange-0.001 > Net::OpenXchange::Attribute

Download:
Net-OpenXchange-0.001.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.001   Source  

NAME ^

Net::OpenXchange::Attribute - Attribute trait for OpenXchange objects

VERSION ^

version 0.001

SYNOPSIS ^

This trait is used for all attributes that map to OpenXchange's attributes.

SYNOPSIS ^

    package Net::OpenXchange::Data::MyFields;
    use Moose::Role;

    has myfield => (
        traits => ['Net::OpenXchange::Attribute'],
        is => 'rw',
        isa => 'Str',
        ox_id => 400,
    );

ATTRIBUTES ^

ox_id

ID of this attribute used by the OpenXchange API. Tables with these IDs can be found at http://oxpedia.org/wiki/index.php?title=HTTP_API.

AUTHOR ^

Maximilian Gass <maximilian.gass@credativ.de>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2011 by Maximilian Gass.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: