class PagSeguro::Account

Attributes

company[R]

Get the company account.

email[RW]

Set the account e-mail.

person[R]

Get the person account.

type[RW]

Set the account type. Must be PERSONAL, SELLER or COMPANY.

Public Instance Methods

company=(company) click to toggle source
# File lib/pagseguro/account.rb, line 24
def company=(company)
  return if person
  @company = ensure_type(Company, company)
end
person=(person) click to toggle source
# File lib/pagseguro/account.rb, line 19
def person=(person)
  return if company
  @person = ensure_type(Person, person)
end