Module: Buckaruby

Defined in:
lib/buckaruby.rb,
lib/buckaruby/action.rb,
lib/buckaruby/amount.rb,
lib/buckaruby/gateway.rb,
lib/buckaruby/request.rb,
lib/buckaruby/version.rb,
lib/buckaruby/currency.rb,
lib/buckaruby/language.rb,
lib/buckaruby/response.rb,
lib/buckaruby/exception.rb,
lib/buckaruby/operation.rb,
lib/buckaruby/signature.rb,
lib/buckaruby/field_mapper.rb,
lib/buckaruby/configuration.rb,
lib/buckaruby/payment_method.rb,
lib/buckaruby/transaction_type.rb,
lib/buckaruby/transaction_status.rb,
lib/buckaruby/support/case_insensitive_hash.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Action, Currency, FieldMapper, Language, Operation, PaymentMethod, Signature, Support, TransactionResponse, TransactionStatus, TransactionType Classes: Amount, ApiException, ApiResponse, BuckarooException, CancelRequest, CancelResponse, Config, Configuration, ConnectionException, Gateway, InvalidResponseException, NonCancellableTransactionException, NonRefundableTransactionException, PushResponse, RecurrentTransactionRequest, RecurrentTransactionResponse, RefundInfoRequest, RefundInfoResponse, RefundTransactionRequest, RefundTransactionResponse, Request, Response, SetupTransactionRequest, SetupTransactionResponse, SignatureException, StatusRequest, StatusResponse, TransactionRequest, TransactionSpecificationRequest, TransactionSpecificationResponse

Constant Summary collapse

VERSION =
'2.2.1'

Class Method Summary collapse

Class Method Details

.configObject



38
39
40
# File 'lib/buckaruby.rb', line 38

def config
  @config ||= Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



42
43
44
# File 'lib/buckaruby.rb', line 42

def configure
  yield(config)
end

.reset!Object



46
47
48
# File 'lib/buckaruby.rb', line 46

def reset!
  @config = Config.new
end