Class: Conekta::Address
- Inherits:
-
Resource
- Object
- Hash
- ConektaObject
- Resource
- Conekta::Address
- Defined in:
- lib/conekta/address.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#state ⇒ Object
Returns the value of attribute state.
-
#street1 ⇒ Object
Returns the value of attribute street1.
-
#street2 ⇒ Object
Returns the value of attribute street2.
-
#street3 ⇒ Object
Returns the value of attribute street3.
-
#zip ⇒ Object
Returns the value of attribute zip.
Attributes inherited from Resource
Attributes inherited from ConektaObject
Method Summary
Methods inherited from Resource
#_url, _url, #create_member_with_relation, #initialize, underscored_class
Methods inherited from ConektaObject
#class_name, class_name, #create_attr, #first, #initialize, #inspect, #last, #load_from, #set_val, #to_s, #unset_key
Constructor Details
This class inherits a constructor from Conekta::Resource
Instance Attribute Details
#city ⇒ Object
Returns the value of attribute city.
3 4 5 |
# File 'lib/conekta/address.rb', line 3 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
3 4 5 |
# File 'lib/conekta/address.rb', line 3 def country @country end |
#state ⇒ Object
Returns the value of attribute state.
3 4 5 |
# File 'lib/conekta/address.rb', line 3 def state @state end |
#street1 ⇒ Object
Returns the value of attribute street1.
3 4 5 |
# File 'lib/conekta/address.rb', line 3 def street1 @street1 end |
#street2 ⇒ Object
Returns the value of attribute street2.
3 4 5 |
# File 'lib/conekta/address.rb', line 3 def street2 @street2 end |
#street3 ⇒ Object
Returns the value of attribute street3.
3 4 5 |
# File 'lib/conekta/address.rb', line 3 def street3 @street3 end |
#zip ⇒ Object
Returns the value of attribute zip.
3 4 5 |
# File 'lib/conekta/address.rb', line 3 def zip @zip end |