class PagSeguro::Address
Set the shipping address information.
Attributes
city[RW]
Set the city name.
complement[RW]
Set the address complement. Can be the apartment, suite number or any other qualifier after the street/number pair.
country[RW]
Set the country code. Defaults to BRA
.
district[RW]
Set the district. Can be the district, county or neighborhood, if applicable.
number[RW]
Set the house/building number.
postal_code[RW]
Set the postal code. Must contain 8 numbers.
state[RW]
Set the state or province.
street[RW]
Set the street name.
Private Instance Methods
before_initialize()
click to toggle source
# File lib/pagseguro/address.rb, line 36 def before_initialize self.country = "BRA" end