class PagSeguro::Address
Attributes
city[RW]
Get the city.
complement[RW]
Get the complement.
country[RW]
Get the country.
district[RW]
Get the district.
number[RW]
Set the number.
postal_code[RW]
Set the postal_code. 8 digit number represeting a valid CEP i.e 01452002
state[RW]
Get the state.
street[RW]
Set the street name.
Public Class Methods
new(options = {})
click to toggle source
# File lib/pagseguro/address.rb, line 35 def initialize(options = {}) @country = "BRA" @postal_code = options[:postal_code] @street = options[:street] @number = options[:number] @complement = options[:complement] @district = options[:district] @city = options[:city] @state = options[:state] end