Module: Rma::Payment::Gateway
- Defined in:
- lib/rma/payment/gateway.rb,
lib/rma/payment/gateway/utils.rb,
lib/rma/payment/gateway/client.rb,
lib/rma/payment/gateway/errors.rb,
lib/rma/payment/gateway/version.rb,
lib/rma/payment/gateway/authorization.rb,
lib/rma/payment/gateway/configuration.rb,
lib/rma/payment/gateway/debit_request.rb,
lib/rma/payment/gateway/account_inquiry.rb
Defined Under Namespace
Modules: Utils Classes: APIError, AccountInquiry, AuthenticationError, Authorization, Client, Configuration, ConfigurationError, DebitRequest, Error, InvalidParameterError, NetworkError
Constant Summary collapse
- VERSION =
"1.0.1"
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.
18 19 20 |
# File 'lib/rma/payment/gateway.rb', line 18 def configuration @configuration end |
Class Method Details
.client ⇒ Object
26 27 28 |
# File 'lib/rma/payment/gateway.rb', line 26 def self.client Client.new(configuration) end |
.configure {|configuration| ... } ⇒ Object
21 22 23 24 |
# File 'lib/rma/payment/gateway.rb', line 21 def self.configure self.configuration ||= Configuration.new yield(configuration) end |