Module: DkPaymentGateway
- Defined in:
- lib/dk_payment_gateway.rb,
lib/dk_payment_gateway/utils.rb,
lib/dk_payment_gateway/client.rb,
lib/dk_payment_gateway/errors.rb,
lib/dk_payment_gateway/version.rb,
lib/dk_payment_gateway/signature.rb,
lib/dk_payment_gateway/qr_payment.rb,
lib/dk_payment_gateway/pull_payment.rb,
lib/dk_payment_gateway/configuration.rb,
lib/dk_payment_gateway/authentication.rb,
lib/dk_payment_gateway/intra_transaction.rb,
lib/dk_payment_gateway/transaction_status.rb
Defined Under Namespace
Modules: Utils Classes: APIError, Authentication, AuthenticationError, Client, Configuration, ConfigurationError, Error, IntraTransaction, InvalidParameterError, NetworkError, PullPayment, QrPayment, Signature, SignatureError, TransactionError, TransactionStatus
Constant Summary collapse
- VERSION =
'1.0.2'
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
17 18 19 |
# File 'lib/dk_payment_gateway.rb', line 17 def configuration @configuration end |
Class Method Details
.client ⇒ Object
25 26 27 |
# File 'lib/dk_payment_gateway.rb', line 25 def self.client Client.new(configuration) end |
.configure {|configuration| ... } ⇒ Object
20 21 22 23 |
# File 'lib/dk_payment_gateway.rb', line 20 def self.configure self.configuration ||= Configuration.new yield(configuration) end |