Class: Cornerstore::Address

Inherits:
Model::Base show all
Defined in:
lib/cornerstore/api/address.rb

Instance Attribute Summary collapse

Attributes inherited from Model::Base

#_id, #_slugs, #created_at, #parent, #updated_at

Method Summary

Methods inherited from Model::Base

#==, #attributes, #attributes=, #initialize, #inspect, #method_missing, method_missing, #to_param, #url

Constructor Details

This class inherits a constructor from Cornerstore::Model::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Cornerstore::Model::Base

Instance Attribute Details

#additionObject

Returns the value of attribute addition.



2
3
4
# File 'lib/cornerstore/api/address.rb', line 2

def addition
  @addition
end

#companyObject

Returns the value of attribute company.



2
3
4
# File 'lib/cornerstore/api/address.rb', line 2

def company
  @company
end

#countryObject

Returns the value of attribute country.



2
3
4
# File 'lib/cornerstore/api/address.rb', line 2

def country
  @country
end

#firstnameObject

Returns the value of attribute firstname.



2
3
4
# File 'lib/cornerstore/api/address.rb', line 2

def firstname
  @firstname
end

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/cornerstore/api/address.rb', line 2

def name
  @name
end

#numberObject

Returns the value of attribute number.



2
3
4
# File 'lib/cornerstore/api/address.rb', line 2

def number
  @number
end

#stateObject

Returns the value of attribute state.



2
3
4
# File 'lib/cornerstore/api/address.rb', line 2

def state
  @state
end

#streetObject

Returns the value of attribute street.



2
3
4
# File 'lib/cornerstore/api/address.rb', line 2

def street
  @street
end

#townObject

Returns the value of attribute town.



2
3
4
# File 'lib/cornerstore/api/address.rb', line 2

def town
  @town
end

#zipObject

Returns the value of attribute zip.



2
3
4
# File 'lib/cornerstore/api/address.rb', line 2

def zip
  @zip
end