Class: ChartMogul::Import::Customer
- Inherits:
-
Object
- Object
- ChartMogul::Import::Customer
- Defined in:
- lib/chart_mogul/import/customer.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
readonly
Returns the value of attribute city.
-
#company ⇒ Object
readonly
Returns the value of attribute company.
-
#country ⇒ Object
readonly
Returns the value of attribute country.
-
#data_source_uuid ⇒ Object
readonly
Returns the value of attribute data_source_uuid.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#external_id ⇒ Object
readonly
Returns the value of attribute external_id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#uuid ⇒ Object
readonly
Returns the value of attribute uuid.
-
#zip ⇒ Object
readonly
Returns the value of attribute zip.
Instance Method Summary collapse
-
#initialize(args) ⇒ Customer
constructor
A new instance of Customer.
Constructor Details
#initialize(args) ⇒ Customer
Returns a new instance of Customer.
17 18 19 20 21 |
# File 'lib/chart_mogul/import/customer.rb', line 17 def initialize(args) args.each_pair do |key, value| instance_variable_set("@#{key}", value) end end |
Instance Attribute Details
#city ⇒ Object (readonly)
Returns the value of attribute city.
12 13 14 |
# File 'lib/chart_mogul/import/customer.rb', line 12 def city @city end |
#company ⇒ Object (readonly)
Returns the value of attribute company.
10 11 12 |
# File 'lib/chart_mogul/import/customer.rb', line 10 def company @company end |
#country ⇒ Object (readonly)
Returns the value of attribute country.
14 15 16 |
# File 'lib/chart_mogul/import/customer.rb', line 14 def country @country end |
#data_source_uuid ⇒ Object (readonly)
Returns the value of attribute data_source_uuid.
6 7 8 |
# File 'lib/chart_mogul/import/customer.rb', line 6 def data_source_uuid @data_source_uuid end |
#email ⇒ Object (readonly)
Returns the value of attribute email.
11 12 13 |
# File 'lib/chart_mogul/import/customer.rb', line 11 def email @email end |
#external_id ⇒ Object (readonly)
Returns the value of attribute external_id.
7 8 9 |
# File 'lib/chart_mogul/import/customer.rb', line 7 def external_id @external_id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
9 10 11 |
# File 'lib/chart_mogul/import/customer.rb', line 9 def name @name end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
13 14 15 |
# File 'lib/chart_mogul/import/customer.rb', line 13 def state @state end |
#uuid ⇒ Object (readonly)
Returns the value of attribute uuid.
5 6 7 |
# File 'lib/chart_mogul/import/customer.rb', line 5 def uuid @uuid end |
#zip ⇒ Object (readonly)
Returns the value of attribute zip.
15 16 17 |
# File 'lib/chart_mogul/import/customer.rb', line 15 def zip @zip end |