Class: Cornerstore::Address
- Inherits:
-
Model::Base
- Object
- Model::Base
- Cornerstore::Address
- Defined in:
- lib/cornerstore/api/address.rb
Instance Attribute Summary collapse
-
#addition ⇒ Object
Returns the value of attribute addition.
-
#company ⇒ Object
Returns the value of attribute company.
-
#country ⇒ Object
Returns the value of attribute country.
-
#firstname ⇒ Object
Returns the value of attribute firstname.
-
#name ⇒ Object
Returns the value of attribute name.
-
#number ⇒ Object
Returns the value of attribute number.
-
#state ⇒ Object
Returns the value of attribute state.
-
#street ⇒ Object
Returns the value of attribute street.
-
#town ⇒ Object
Returns the value of attribute town.
-
#zip ⇒ Object
Returns the value of attribute zip.
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
#addition ⇒ Object
Returns the value of attribute addition.
2 3 4 |
# File 'lib/cornerstore/api/address.rb', line 2 def addition @addition end |
#company ⇒ Object
Returns the value of attribute company.
2 3 4 |
# File 'lib/cornerstore/api/address.rb', line 2 def company @company end |
#country ⇒ Object
Returns the value of attribute country.
2 3 4 |
# File 'lib/cornerstore/api/address.rb', line 2 def country @country end |
#firstname ⇒ Object
Returns the value of attribute firstname.
2 3 4 |
# File 'lib/cornerstore/api/address.rb', line 2 def firstname @firstname end |
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/cornerstore/api/address.rb', line 2 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
2 3 4 |
# File 'lib/cornerstore/api/address.rb', line 2 def number @number end |
#state ⇒ Object
Returns the value of attribute state.
2 3 4 |
# File 'lib/cornerstore/api/address.rb', line 2 def state @state end |
#street ⇒ Object
Returns the value of attribute street.
2 3 4 |
# File 'lib/cornerstore/api/address.rb', line 2 def street @street end |
#town ⇒ Object
Returns the value of attribute town.
2 3 4 |
# File 'lib/cornerstore/api/address.rb', line 2 def town @town end |
#zip ⇒ Object
Returns the value of attribute zip.
2 3 4 |
# File 'lib/cornerstore/api/address.rb', line 2 def zip @zip end |