Module: Cielo

Defined in:
lib/cielo.rb,
lib/cielo/token.rb,
lib/cielo/version.rb,
lib/cielo/connection.rb,
lib/cielo/transaction.rb,
lib/generators/cielo/install_generator.rb

Defined Under Namespace

Modules: Generators Classes: Connection, MissingArgumentError, Production, Test, Token, Transaction

Constant Summary collapse

MAJOR =
1
MINOR =
0
PATCH =
3
VERSION =
"#{MAJOR}.#{MINOR}.#{PATCH}"
@@environment =
:test
@@numero_afiliacao =
'1001734898'
@@chave_acesso =
'e84827130b9837473681c2787007da5914d6359947015a5cdb2b8843db0fa832'
@@return_path =
'http://localhost:3000'
@@proxy =
{}

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Cielo)

    the object that the method was called on



35
36
37
# File 'lib/cielo.rb', line 35

def self.setup
  yield self
end