Class: IMS::LTI::Models::MembershipService::Agent

Inherits:
Object
  • Object
show all
Includes:
Serializable
Defined in:
lib/ims/lti/models/membership_service/agent.rb

Direct Known Subclasses

Person

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Serializable

#as_json, #to_json

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

#idObject (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