Class: PagSeguro::AccountCredentials
- Inherits:
-
Object
- Object
- PagSeguro::AccountCredentials
- Defined in:
- lib/pagseguro/account_credentials.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
The user email.
-
#token ⇒ Object
The token related to the user.
Instance Method Summary collapse
-
#initialize(email, token) ⇒ AccountCredentials
constructor
A new instance of AccountCredentials.
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
#email ⇒ Object
The user email
4 5 6 |
# File 'lib/pagseguro/account_credentials.rb', line 4 def email @email end |
#token ⇒ Object
The token related to the user
7 8 9 |
# File 'lib/pagseguro/account_credentials.rb', line 7 def token @token end |