Class: SiebelDonations::Address
- Defined in:
- lib/siebel_donations/address.rb
Instance Attribute Summary collapse
-
#address1 ⇒ Object
readonly
Returns the value of attribute address1.
-
#address2 ⇒ Object
readonly
Returns the value of attribute address2.
-
#address3 ⇒ Object
readonly
Returns the value of attribute address3.
-
#address4 ⇒ Object
readonly
Returns the value of attribute address4.
-
#city ⇒ Object
readonly
Returns the value of attribute city.
-
#country ⇒ Object
readonly
Returns the value of attribute country.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#primary ⇒ Object
readonly
Returns the value of attribute primary.
-
#seasonal ⇒ Object
readonly
Returns the value of attribute seasonal.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
-
#zip ⇒ Object
readonly
Returns the value of attribute zip.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from SiebelDonations::Base
Instance Attribute Details
#address1 ⇒ Object (readonly)
Returns the value of attribute address1.
4 5 6 |
# File 'lib/siebel_donations/address.rb', line 4 def address1 @address1 end |
#address2 ⇒ Object (readonly)
Returns the value of attribute address2.
4 5 6 |
# File 'lib/siebel_donations/address.rb', line 4 def address2 @address2 end |
#address3 ⇒ Object (readonly)
Returns the value of attribute address3.
4 5 6 |
# File 'lib/siebel_donations/address.rb', line 4 def address3 @address3 end |
#address4 ⇒ Object (readonly)
Returns the value of attribute address4.
4 5 6 |
# File 'lib/siebel_donations/address.rb', line 4 def address4 @address4 end |
#city ⇒ Object (readonly)
Returns the value of attribute city.
4 5 6 |
# File 'lib/siebel_donations/address.rb', line 4 def city @city end |
#country ⇒ Object (readonly)
Returns the value of attribute country.
4 5 6 |
# File 'lib/siebel_donations/address.rb', line 4 def country @country end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/siebel_donations/address.rb', line 4 def id @id end |
#primary ⇒ Object (readonly)
Returns the value of attribute primary.
4 5 6 |
# File 'lib/siebel_donations/address.rb', line 4 def primary @primary end |
#seasonal ⇒ Object (readonly)
Returns the value of attribute seasonal.
4 5 6 |
# File 'lib/siebel_donations/address.rb', line 4 def seasonal @seasonal end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
4 5 6 |
# File 'lib/siebel_donations/address.rb', line 4 def state @state end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
4 5 6 |
# File 'lib/siebel_donations/address.rb', line 4 def updated_at @updated_at end |
#zip ⇒ Object (readonly)
Returns the value of attribute zip.
4 5 6 |
# File 'lib/siebel_donations/address.rb', line 4 def zip @zip end |
Instance Method Details
#type ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/siebel_donations/address.rb', line 8 def type case @type.to_s.downcase when '', 'mailing address', 'ship to', 'ma', 'mailng', 'm', 'billing', 'mailin', 'mailig', 'mailing', 'maling', 'mailign', 'mailingf', 'naukubg', 'maiiling', 'shipping' 'Mailing' else @type end end |