Class: BanksRegistry::Models::Rule

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

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Rule

Returns a new instance of Rule.



6
7
8
# File 'lib/banks_registry/models/rule.rb', line 6

def initialize(attributes = {})
  @attributes = attributes
end

Instance Method Details

#bbanObject



14
15
16
# File 'lib/banks_registry/models/rule.rb', line 14

def bban
  attributes['bban']
end

#ibanObject



10
11
12
# File 'lib/banks_registry/models/rule.rb', line 10

def iban
  attributes['iban']
end