Class: PagSeguro::Account

Inherits:
Object
  • Object
show all
Includes:
Extensions::EnsureType, Extensions::MassAssignment
Defined in:
lib/pagseguro/account.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Extensions::EnsureType

#ensure_type

Methods included from Extensions::MassAssignment

#initialize

Instance Attribute Details

#companyObject

Get the company account.



17
18
19
# File 'lib/pagseguro/account.rb', line 17

def company
  @company
end

#emailObject

Set the account e-mail.



7
8
9
# File 'lib/pagseguro/account.rb', line 7

def email
  @email
end

#personObject

Get the person account.



14
15
16
# File 'lib/pagseguro/account.rb', line 14

def person
  @person
end

#typeObject

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



11
12
13
# File 'lib/pagseguro/account.rb', line 11

def type
  @type
end