Class: TinCanApi::Documents::StateDocument

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

Instance Attribute Summary collapse

Attributes inherited from Document

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

Instance Method Summary collapse

Constructor Details

#initialize(&block) ⇒ StateDocument

Returns a new instance of StateDocument.



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

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

Instance Attribute Details

#activityObject

Returns the value of attribute activity.



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

def activity
  @activity
end

#agentObject

Returns the value of attribute agent.



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

def agent
  @agent
end

#registrationObject

Returns the value of attribute registration.



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

def registration
  @registration
end