Class: TinCanApi::Documents::AgentProfileDocument
- Defined in:
- lib/tin_can_api/documents/agent_profile_document.rb
Instance Attribute Summary collapse
-
#agent ⇒ Object
Returns the value of attribute agent.
Attributes inherited from Document
#content, #content_type, #etag, #id, #timestamp
Instance Method Summary collapse
-
#initialize(&block) ⇒ AgentProfileDocument
constructor
A new instance of AgentProfileDocument.
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
#agent ⇒ Object
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 |