Module: Transbank::Webpay

Defined in:
lib/transbank/webpay.rb,
lib/transbank/webpay/api.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

Constant Summary collapse

VERSION =
"0.2.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Class Method Details

.apiObject



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

def self.api
  @api ||= Api.new
end

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

Yields:



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

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