Class: TinCanApi::Documents::ActivityProfileDocument
- Defined in:
- lib/tin_can_api/documents/activity_profile_document.rb
Instance Attribute Summary collapse
-
#activity ⇒ Object
Returns the value of attribute activity.
Attributes inherited from Document
#content, #content_type, #etag, #id, #timestamp
Instance Method Summary collapse
-
#initialize(&block) ⇒ ActivityProfileDocument
constructor
A new instance of ActivityProfileDocument.
Constructor Details
#initialize(&block) ⇒ ActivityProfileDocument
Returns a new instance of ActivityProfileDocument.
8 9 10 |
# File 'lib/tin_can_api/documents/activity_profile_document.rb', line 8 def initialize(&block) super(&block) end |
Instance Attribute Details
#activity ⇒ Object
Returns the value of attribute activity.
6 7 8 |
# File 'lib/tin_can_api/documents/activity_profile_document.rb', line 6 def activity @activity end |