Module: Transbank::Webpay

Defined in:
lib/transbank/webpay.rb,
lib/transbank/webpay/api.rb,
lib/transbank/webpay/vault.rb,
lib/transbank/webpay/client.rb,
lib/transbank/webpay/helper.rb,
lib/transbank/webpay/params.rb,
lib/transbank/webpay/reader.rb,
lib/transbank/webpay/struct.rb,
lib/transbank/webpay/request.rb,
lib/transbank/webpay/version.rb,
lib/transbank/webpay/document.rb,
lib/transbank/webpay/response.rb,
lib/transbank/webpay/exceptions.rb,
lib/transbank/webpay/validations.rb,
lib/transbank/webpay/configuration.rb,
lib/transbank/webpay/exception_response.rb

Defined Under Namespace

Modules: Exceptions, Helper, Params, Reader, Validations Classes: Api, Client, Configuration, Document, ExceptionResponse, Request, Response, Struct, Vault

Constant Summary collapse

VERSION =
'0.2.2'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject (readonly)

Returns the value of attribute configuration.



27
28
29
# File 'lib/transbank/webpay.rb', line 27

def configuration
  @configuration
end

Class Method Details

.apiObject



37
38
39
# File 'lib/transbank/webpay.rb', line 37

def api
  @api ||= Api.new
end

.configure {|@configuration| ... } ⇒ Object

Yields:



32
33
34
35
# File 'lib/transbank/webpay.rb', line 32

def configure
  @configuration ||= Configuration.new
  yield(@configuration)
end