Class: CheapSkate::FacetResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/cheap_skate/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFacetResponse

Returns a new instance of FacetResponse.



178
179
180
181
# File 'lib/cheap_skate/models.rb', line 178

def initialize
  @fields = []
  @facets = {}
end

Instance Attribute Details

#facetsObject

Returns the value of attribute facets.



177
178
179
# File 'lib/cheap_skate/models.rb', line 177

def facets
  @facets
end

#fieldsObject

Returns the value of attribute fields.



177
178
179
# File 'lib/cheap_skate/models.rb', line 177

def fields
  @fields
end

#limitObject

Returns the value of attribute limit.



177
178
179
# File 'lib/cheap_skate/models.rb', line 177

def limit
  @limit
end

#offsetObject

Returns the value of attribute offset.



177
178
179
# File 'lib/cheap_skate/models.rb', line 177

def offset
  @offset
end

#queryObject

Returns the value of attribute query.



177
178
179
# File 'lib/cheap_skate/models.rb', line 177

def query
  @query
end

#totalObject

Returns the value of attribute total.



177
178
179
# File 'lib/cheap_skate/models.rb', line 177

def total
  @total
end

Instance Method Details

#add_facets(r) ⇒ Object



183
184
185
# File 'lib/cheap_skate/models.rb', line 183

def add_facets(r)

end