Class: Tabulatr::Responses::RawResponse

Inherits:
DirectResponse show all
Defined in:
lib/tabulatr/responses/raw_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data, options = {}) ⇒ RawResponse

Returns a new instance of RawResponse.



4
5
6
7
# File 'lib/tabulatr/responses/raw_response.rb', line 4

def initialize(data, options={})
  @data = data
  @options = options
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



2
3
4
# File 'lib/tabulatr/responses/raw_response.rb', line 2

def data
  @data
end

#optionsObject

Returns the value of attribute options.



2
3
4
# File 'lib/tabulatr/responses/raw_response.rb', line 2

def options
  @options
end