Class: Access::CitySavings

Inherits:
Object
  • Object
show all
Includes:
MuchMeta
Defined in:
lib/access/city_savings.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from MuchMeta

#set_up_methods, #set_values

Constructor Details

#initialize(values) ⇒ CitySavings

Returns a new instance of CitySavings.



9
10
11
12
13
# File 'lib/access/city_savings.rb', line 9

def initialize(values)
  @used_fields = []
  set_up_methods(values)
  set_values(values)
end

Class Method Details

.search(options = {}) ⇒ Object



5
6
7
# File 'lib/access/city_savings.rb', line 5

def self.search(options = {})
  Access::Api.new.search_city_savings options
end