Class: TinCanApi::LrsResponse
- Inherits:
-
Object
- Object
- TinCanApi::LrsResponse
- Defined in:
- lib/tin_can_api/lrs_response.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#error_message ⇒ Object
Returns the value of attribute error_message.
-
#status ⇒ Object
Returns the value of attribute status.
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(&block) ⇒ LrsResponse
constructor
A new instance of LrsResponse.
Constructor Details
#initialize(&block) ⇒ LrsResponse
Returns a new instance of LrsResponse.
6 7 8 9 10 |
# File 'lib/tin_can_api/lrs_response.rb', line 6 def initialize(&block) if block_given? block[self] end end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
4 5 6 |
# File 'lib/tin_can_api/lrs_response.rb', line 4 def content @content end |
#error_message ⇒ Object
Returns the value of attribute error_message.
4 5 6 |
# File 'lib/tin_can_api/lrs_response.rb', line 4 def @error_message end |
#status ⇒ Object
Returns the value of attribute status.
4 5 6 |
# File 'lib/tin_can_api/lrs_response.rb', line 4 def status @status end |
#success ⇒ Object
Returns the value of attribute success.
4 5 6 |
# File 'lib/tin_can_api/lrs_response.rb', line 4 def success @success end |