Module: Paypal::Ipn::Buyer
- Defined in:
- lib/paypal/ipn/variables/buyer.rb
Instance Method Summary collapse
- #customer_address(delimeter = ",\n") ⇒ Object
- #customer_address_city ⇒ Object
- #customer_address_country ⇒ Object
- #customer_address_name ⇒ Object
- #customer_address_state ⇒ Object
- #customer_address_street ⇒ Object
- #customer_address_zip ⇒ Object
Instance Method Details
#customer_address(delimeter = ",\n") ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/paypal/ipn/variables/buyer.rb', line 4 def customer_address(delimeter = ",\n") [ customer_address_name, customer_address_street, customer_address_city, customer_address_state, customer_address_country + " " + customer_address_zip, ].join(delimeter) end |
#customer_address_city ⇒ Object
22 23 24 |
# File 'lib/paypal/ipn/variables/buyer.rb', line 22 def customer_address_city self.params["address_city"].to_s end |
#customer_address_country ⇒ Object
34 35 36 |
# File 'lib/paypal/ipn/variables/buyer.rb', line 34 def customer_address_country self.params["address_country"].to_s end |
#customer_address_name ⇒ Object
14 15 16 |
# File 'lib/paypal/ipn/variables/buyer.rb', line 14 def customer_address_name self.params["address_name"].to_s end |
#customer_address_state ⇒ Object
26 27 28 |
# File 'lib/paypal/ipn/variables/buyer.rb', line 26 def customer_address_state self.params["address_state"].to_s end |
#customer_address_street ⇒ Object
18 19 20 |
# File 'lib/paypal/ipn/variables/buyer.rb', line 18 def customer_address_street self.params["address_street"].to_s end |
#customer_address_zip ⇒ Object
30 31 32 |
# File 'lib/paypal/ipn/variables/buyer.rb', line 30 def customer_address_zip self.params["address_zip"].to_s end |