Class: BanksRegistry::Models::Rule
- Inherits:
-
Object
- Object
- BanksRegistry::Models::Rule
- Defined in:
- lib/banks_registry/models/rule.rb
Instance Method Summary collapse
- #bban ⇒ Object
- #iban ⇒ Object
-
#initialize(attributes = {}) ⇒ Rule
constructor
A new instance of Rule.
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
#bban ⇒ Object
14 15 16 |
# File 'lib/banks_registry/models/rule.rb', line 14 def bban attributes['bban'] end |
#iban ⇒ Object
10 11 12 |
# File 'lib/banks_registry/models/rule.rb', line 10 def iban attributes['iban'] end |