Class: PagSeguro::Account
- Inherits:
-
Object
- Object
- PagSeguro::Account
- Includes:
- Extensions::EnsureType, Extensions::MassAssignment
- Defined in:
- lib/pagseguro/account.rb
Instance Attribute Summary collapse
-
#company ⇒ Object
Get the company account.
-
#email ⇒ Object
Set the account e-mail.
-
#person ⇒ Object
Get the person account.
-
#type ⇒ Object
Set the account type.
Method Summary
Methods included from Extensions::EnsureType
Methods included from Extensions::MassAssignment
Instance Attribute Details
#company ⇒ Object
Get the company account.
17 18 19 |
# File 'lib/pagseguro/account.rb', line 17 def company @company end |
#email ⇒ Object
Set the account e-mail.
7 8 9 |
# File 'lib/pagseguro/account.rb', line 7 def email @email end |
#person ⇒ Object
Get the person account.
14 15 16 |
# File 'lib/pagseguro/account.rb', line 14 def person @person end |
#type ⇒ Object
Set the account type. Must be PERSONAL, SELLER or COMPANY.
11 12 13 |
# File 'lib/pagseguro/account.rb', line 11 def type @type end |