Class: PagSeguro::AccountCredentials

Inherits:
Object
  • Object
show all
Defined in:
lib/pagseguro/account_credentials.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(email, token) ⇒ AccountCredentials

Returns a new instance of AccountCredentials.



9
10
11
12
# File 'lib/pagseguro/account_credentials.rb', line 9

def initialize(email, token)
  @email = email
  @token = token
end

Instance Attribute Details

#emailObject

The user email



4
5
6
# File 'lib/pagseguro/account_credentials.rb', line 4

def email
  @email
end

#tokenObject

The token related to the user



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

def token
  @token
end