Class: TinCanApi::LrsResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/tin_can_api/lrs_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#contentObject

Returns the value of attribute content.



4
5
6
# File 'lib/tin_can_api/lrs_response.rb', line 4

def content
  @content
end

#error_messageObject

Returns the value of attribute error_message.



4
5
6
# File 'lib/tin_can_api/lrs_response.rb', line 4

def error_message
  @error_message
end

#statusObject

Returns the value of attribute status.



4
5
6
# File 'lib/tin_can_api/lrs_response.rb', line 4

def status
  @status
end

#successObject

Returns the value of attribute success.



4
5
6
# File 'lib/tin_can_api/lrs_response.rb', line 4

def success
  @success
end