Class: IMS::LTI::Models::MembershipService::Agent
- Inherits:
-
Object
- Object
- IMS::LTI::Models::MembershipService::Agent
- Includes:
- Serializable
- Defined in:
- lib/ims/lti/models/membership_service/agent.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Agent
constructor
A new instance of Agent.
Methods included from Serializable
Constructor Details
#initialize(opts = {}) ⇒ Agent
Returns a new instance of Agent.
7 8 9 |
# File 'lib/ims/lti/models/membership_service/agent.rb', line 7 def initialize(opts={}) @id = opts[:id] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/ims/lti/models/membership_service/agent.rb', line 5 def id @id end |