Class: SEPA::DebtorAddress
- Inherits:
-
Object
- Object
- SEPA::DebtorAddress
- Extended by:
- Converter
- Includes:
- ActiveModel::Validations
- Defined in:
- lib/sepa_king/account/debtor_address.rb
Instance Attribute Summary collapse
-
#address_line1 ⇒ Object
Returns the value of attribute address_line1.
-
#address_line2 ⇒ Object
Returns the value of attribute address_line2.
-
#building_number ⇒ Object
Returns the value of attribute building_number.
-
#country_code ⇒ Object
Returns the value of attribute country_code.
-
#post_code ⇒ Object
Returns the value of attribute post_code.
-
#street_name ⇒ Object
Returns the value of attribute street_name.
-
#town_name ⇒ Object
Returns the value of attribute town_name.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ DebtorAddress
constructor
A new instance of DebtorAddress.
Methods included from Converter
Constructor Details
#initialize(attributes = {}) ⇒ DebtorAddress
Returns a new instance of DebtorAddress.
31 32 33 34 35 |
# File 'lib/sepa_king/account/debtor_address.rb', line 31 def initialize(attributes = {}) attributes.each do |name, value| public_send("#{name}=", value) end end |
Instance Attribute Details
#address_line1 ⇒ Object
Returns the value of attribute address_line1.
7 8 9 |
# File 'lib/sepa_king/account/debtor_address.rb', line 7 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Returns the value of attribute address_line2.
7 8 9 |
# File 'lib/sepa_king/account/debtor_address.rb', line 7 def address_line2 @address_line2 end |
#building_number ⇒ Object
Returns the value of attribute building_number.
7 8 9 |
# File 'lib/sepa_king/account/debtor_address.rb', line 7 def building_number @building_number end |
#country_code ⇒ Object
Returns the value of attribute country_code.
7 8 9 |
# File 'lib/sepa_king/account/debtor_address.rb', line 7 def country_code @country_code end |
#post_code ⇒ Object
Returns the value of attribute post_code.
7 8 9 |
# File 'lib/sepa_king/account/debtor_address.rb', line 7 def post_code @post_code end |
#street_name ⇒ Object
Returns the value of attribute street_name.
7 8 9 |
# File 'lib/sepa_king/account/debtor_address.rb', line 7 def street_name @street_name end |
#town_name ⇒ Object
Returns the value of attribute town_name.
7 8 9 |
# File 'lib/sepa_king/account/debtor_address.rb', line 7 def town_name @town_name end |