Class: Conekta::Address

Inherits:
Resource show all
Defined in:
lib/conekta/address.rb

Instance Attribute Summary collapse

Attributes inherited from Resource

#id

Attributes inherited from ConektaObject

#values

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

#cityObject

Returns the value of attribute city.



3
4
5
# File 'lib/conekta/address.rb', line 3

def city
  @city
end

#countryObject

Returns the value of attribute country.



3
4
5
# File 'lib/conekta/address.rb', line 3

def country
  @country
end

#stateObject

Returns the value of attribute state.



3
4
5
# File 'lib/conekta/address.rb', line 3

def state
  @state
end

#street1Object

Returns the value of attribute street1.



3
4
5
# File 'lib/conekta/address.rb', line 3

def street1
  @street1
end

#street2Object

Returns the value of attribute street2.



3
4
5
# File 'lib/conekta/address.rb', line 3

def street2
  @street2
end

#street3Object

Returns the value of attribute street3.



3
4
5
# File 'lib/conekta/address.rb', line 3

def street3
  @street3
end

#zipObject

Returns the value of attribute zip.



3
4
5
# File 'lib/conekta/address.rb', line 3

def zip
  @zip
end