Class: IMS::LTI::Models::MembershipService::LISMembershipContainer
- Inherits:
-
Container
- Object
- Container
- IMS::LTI::Models::MembershipService::LISMembershipContainer
- Defined in:
- lib/ims/lti/models/membership_service/lis_membership_container.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from Container
#membership_predicate, #membership_subject
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ LISMembershipContainer
constructor
A new instance of LISMembershipContainer.
Methods included from Serializable
Constructor Details
#initialize(opts = {}) ⇒ LISMembershipContainer
Returns a new instance of LISMembershipContainer.
5 6 7 8 9 10 11 |
# File 'lib/ims/lti/models/membership_service/lis_membership_container.rb', line 5 def initialize(opts={}) super(opts) @id = opts[:id] @context = 'http://purl.imsglobal.org/ctx/lis/v2/MembershipContainer' @type = 'LISMembershipContainer' @membership_predicate = 'http://www.w3.org/ns/org#membership' end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
3 4 5 |
# File 'lib/ims/lti/models/membership_service/lis_membership_container.rb', line 3 def context @context end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
3 4 5 |
# File 'lib/ims/lti/models/membership_service/lis_membership_container.rb', line 3 def id @id end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
3 4 5 |
# File 'lib/ims/lti/models/membership_service/lis_membership_container.rb', line 3 def type @type end |