class PagSeguro::Config

Holds the configuration of the user

Attributes

app_id[RW]

The application id

app_key[RW]

A token related to the application that is making the requests

email[RW]

Primary e-mail associated with this account.

encoding[RW]

The encoding that will be used. Defaults to UTF-8.

environment[RW]

The PagSeguro environment. production or sandbox. Defaults to production.

receiver_email[RW]

The e-mail that will be displayed when sender is redirected to PagSeguro.

token[RW]

The API token associated with this account.

Public Class Methods

new() click to toggle source
# File lib/pagseguro/config.rb, line 29
def initialize
  @environment = :production
  @encoding = "UTF-8"
end