Class: Caliper::Entities::LIS::Membership
- Inherits:
-
EntityBase
- Object
- Entity
- EntityBase
- Caliper::Entities::LIS::Membership
- Includes:
- W3C::Membership
- Defined in:
- lib/caliper/entities/lis/membership.rb
Instance Attribute Summary collapse
-
#member ⇒ Object
Returns the value of attribute member.
-
#organization ⇒ Object
Returns the value of attribute organization.
-
#roles ⇒ Object
Returns the value of attribute roles.
-
#status ⇒ Object
Returns the value of attribute status.
Attributes inherited from EntityBase
#dateCreated, #dateModified, #description, #extensions, #name
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize ⇒ Membership
constructor
A new instance of Membership.
Methods included from Jsonable
#eql?, #from_json, included, #to_json
Constructor Details
#initialize ⇒ Membership
Returns a new instance of Membership.
33 34 35 36 |
# File 'lib/caliper/entities/lis/membership.rb', line 33 def initialize super @type = Caliper::Entities::EntityType::MEMBERSHIP end |
Instance Attribute Details
#member ⇒ Object
Returns the value of attribute member.
31 32 33 |
# File 'lib/caliper/entities/lis/membership.rb', line 31 def member @member end |
#organization ⇒ Object
Returns the value of attribute organization.
31 32 33 |
# File 'lib/caliper/entities/lis/membership.rb', line 31 def organization @organization end |
#roles ⇒ Object
Returns the value of attribute roles.
31 32 33 |
# File 'lib/caliper/entities/lis/membership.rb', line 31 def roles @roles end |
#status ⇒ Object
Returns the value of attribute status.
31 32 33 |
# File 'lib/caliper/entities/lis/membership.rb', line 31 def status @status end |