Package amplee :: Package handler :: Class MemberType
[hide private]
[frames] | no frames]

Class MemberType

source code

object --+
         |
        MemberType

Instance Methods [hide private]
  __init__(self, media_type, member_class, params=None)
Represents meta data about media type.

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, media_type, member_class, params=None)
(Constructor)

source code 

Represents meta data about media type.

Keyword arguments
media_type -- mime type as a string object
member_class -- class which will be used to process resource
params -- dictionary of extra parameters to provide to the member_class

Overrides: object.__init__