Class: IMS::LTI::Models::MembershipService::Context
- Inherits:
-
Organization
- Object
- Organization
- IMS::LTI::Models::MembershipService::Context
- Defined in:
- lib/ims/lti/models/membership_service/context.rb
Instance Attribute Summary collapse
-
#context_id ⇒ Object
readonly
Returns the value of attribute context_id.
Attributes inherited from Organization
#id, #membership, #name, #type
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Context
constructor
A new instance of Context.
Methods included from Serializable
Constructor Details
#initialize(opts = {}) ⇒ Context
Returns a new instance of Context.
5 6 7 8 9 |
# File 'lib/ims/lti/models/membership_service/context.rb', line 5 def initialize(opts={}) super(opts) @type = 'Context' @context_id = opts[:context_id] end |
Instance Attribute Details
#context_id ⇒ Object (readonly)
Returns the value of attribute context_id.
3 4 5 |
# File 'lib/ims/lti/models/membership_service/context.rb', line 3 def context_id @context_id end |