Class: IbanBic::Configuration
- Inherits:
-
Object
- Object
- IbanBic::Configuration
- Defined in:
- lib/iban_bic/configuration.rb
Instance Attribute Summary collapse
-
#bics_table_name ⇒ Object
Returns the value of attribute bics_table_name.
-
#iban_meta_path ⇒ Object
Returns the value of attribute iban_meta_path.
-
#static_bics_path ⇒ Object
Returns the value of attribute static_bics_path.
-
#use_static_bics ⇒ Object
Returns the value of attribute use_static_bics.
Instance Method Summary collapse
Instance Attribute Details
#bics_table_name ⇒ Object
Returns the value of attribute bics_table_name.
5 6 7 |
# File 'lib/iban_bic/configuration.rb', line 5 def bics_table_name @bics_table_name end |
#iban_meta_path ⇒ Object
Returns the value of attribute iban_meta_path.
5 6 7 |
# File 'lib/iban_bic/configuration.rb', line 5 def end |
#static_bics_path ⇒ Object
Returns the value of attribute static_bics_path.
5 6 7 |
# File 'lib/iban_bic/configuration.rb', line 5 def static_bics_path @static_bics_path end |
#use_static_bics ⇒ Object
Returns the value of attribute use_static_bics.
5 6 7 |
# File 'lib/iban_bic/configuration.rb', line 5 def use_static_bics @use_static_bics end |
Instance Method Details
#add(country) ⇒ Object
7 8 9 |
# File 'lib/iban_bic/configuration.rb', line 7 def add(country) IbanBic.country_validators[country] = Proc.new end |
#static_bics? ⇒ Boolean
11 12 13 |
# File 'lib/iban_bic/configuration.rb', line 11 def static_bics? use_static_bics end |