Class: Bcash::Api::AddressRequest
- Inherits:
-
BaseRequest
- Object
- BaseRequest
- Bcash::Api::AddressRequest
- Defined in:
- lib/bcash/api/request/address_request.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#city ⇒ Object
Returns the value of attribute city.
-
#complement ⇒ Object
Returns the value of attribute complement.
-
#neighborhood ⇒ Object
Returns the value of attribute neighborhood.
-
#number ⇒ Object
Returns the value of attribute number.
-
#state ⇒ Object
Returns the value of attribute state.
-
#zip_code ⇒ Object
(also: #zipCode)
Returns the value of attribute zip_code.
Instance Method Summary collapse
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
3 4 5 |
# File 'lib/bcash/api/request/address_request.rb', line 3 def address @address end |
#city ⇒ Object
Returns the value of attribute city.
3 4 5 |
# File 'lib/bcash/api/request/address_request.rb', line 3 def city @city end |
#complement ⇒ Object
Returns the value of attribute complement.
3 4 5 |
# File 'lib/bcash/api/request/address_request.rb', line 3 def complement @complement end |
#neighborhood ⇒ Object
Returns the value of attribute neighborhood.
3 4 5 |
# File 'lib/bcash/api/request/address_request.rb', line 3 def neighborhood @neighborhood end |
#number ⇒ Object
Returns the value of attribute number.
3 4 5 |
# File 'lib/bcash/api/request/address_request.rb', line 3 def number @number end |
#state ⇒ Object
Returns the value of attribute state.
3 4 5 |
# File 'lib/bcash/api/request/address_request.rb', line 3 def state @state end |
#zip_code ⇒ Object Also known as: zipCode
Returns the value of attribute zip_code.
3 4 5 |
# File 'lib/bcash/api/request/address_request.rb', line 3 def zip_code @zip_code end |
Instance Method Details
#attributes ⇒ Object
12 13 14 |
# File 'lib/bcash/api/request/address_request.rb', line 12 def attributes { 'address' => address, 'number' => number, 'complement' => complement, 'neighborhood' => neighborhood, 'city' => city, 'state' => state, 'zipCode' => zip_code } end |