Class: TinCanApi::Documents::AgentProfileDocument

Inherits:
Document
  • Object
show all
Defined in:
lib/tin_can_api/documents/agent_profile_document.rb

Instance Attribute Summary collapse

Attributes inherited from Document

#content, #content_type, #etag, #id, #timestamp

Instance Method Summary collapse

Constructor Details

#initialize(&block) ⇒ AgentProfileDocument

Returns a new instance of AgentProfileDocument.



8
9
10
# File 'lib/tin_can_api/documents/agent_profile_document.rb', line 8

def initialize(&block)
  super(&block)
end

Instance Attribute Details

#agentObject

Returns the value of attribute agent.



6
7
8
# File 'lib/tin_can_api/documents/agent_profile_document.rb', line 6

def agent
  @agent
end