Class: BankingData::Bank
- Inherits:
-
Object
show all
- Defined in:
- lib/banking_data/bank.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
#initialize(attributes = {}) ⇒ Bank
4
5
6
7
8
|
# File 'lib/banking_data/bank.rb', line 4
def initialize(attributes = {})
attributes.each do |name, value|
send("#{name}=", value)
end
end
|
Class Method Details
.query ⇒ Object
16
17
18
|
# File 'lib/banking_data/bank.rb', line 16
def query
Query.new(locale: self::LOCALE)
end
|
.where(options) ⇒ Object
12
13
14
|
# File 'lib/banking_data/bank.rb', line 12
def where(options)
Query.new(options)
end
|