Class: ChartMogul::Import::Customer

Inherits:
Object
  • Object
show all
Defined in:
lib/chart_mogul/import/customer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#cityObject (readonly)

Returns the value of attribute city.



12
13
14
# File 'lib/chart_mogul/import/customer.rb', line 12

def city
  @city
end

#companyObject (readonly)

Returns the value of attribute company.



10
11
12
# File 'lib/chart_mogul/import/customer.rb', line 10

def company
  @company
end

#countryObject (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_uuidObject (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

#emailObject (readonly)

Returns the value of attribute email.



11
12
13
# File 'lib/chart_mogul/import/customer.rb', line 11

def email
  @email
end

#external_idObject (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

#nameObject (readonly)

Returns the value of attribute name.



9
10
11
# File 'lib/chart_mogul/import/customer.rb', line 9

def name
  @name
end

#stateObject (readonly)

Returns the value of attribute state.



13
14
15
# File 'lib/chart_mogul/import/customer.rb', line 13

def state
  @state
end

#uuidObject (readonly)

Returns the value of attribute uuid.



5
6
7
# File 'lib/chart_mogul/import/customer.rb', line 5

def uuid
  @uuid
end

#zipObject (readonly)

Returns the value of attribute zip.



15
16
17
# File 'lib/chart_mogul/import/customer.rb', line 15

def zip
  @zip
end