Class: ApiRecord::Relation

Inherits:
Struct
  • Object
show all
Defined in:
lib/api_record/relation.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



2
3
4
# File 'lib/api_record/relation.rb', line 2

def data
  @data
end

#responseObject

Returns the value of attribute response

Returns:

  • (Object)

    the current value of response



2
3
4
# File 'lib/api_record/relation.rb', line 2

def response
  @response
end