Module: PayTrace
- Defined in:
- lib/paytrace/debug.rb,
lib/paytrace/address.rb,
lib/paytrace/version.rb,
lib/paytrace/customer.rb,
lib/paytrace/api/fields.rb,
lib/paytrace/exceptions.rb,
lib/paytrace/api/gateway.rb,
lib/paytrace/api/request.rb,
lib/paytrace/transaction.rb,
lib/paytrace/api/response.rb,
lib/paytrace/configuration.rb,
lib/paytrace/batch_operations.rb,
lib/paytrace/check_transaction.rb,
lib/paytrace/email_receipt_request.rb,
lib/paytrace/recurring_transaction.rb
Defined Under Namespace
Modules: API, Debug, Exceptions, TransactionTypes Classes: Address, BatchOperations, CheckTransaction, Configuration, Customer, EmailReceiptRequest, RecurringTransaction, Transaction
Constant Summary collapse
- VERSION =
Version number
"1.0.2"
Class Method Summary collapse
-
.configuration ⇒ Object
Returns the singleton Configuration object.
-
.configure {|configuration| ... } ⇒ Object
Allows setting configuration properties via a yield block.
Class Method Details
.configuration ⇒ Object
Returns the singleton Configuration object
52 53 54 |
# File 'lib/paytrace/configuration.rb', line 52 def self.configuration @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
Allows setting configuration properties via a yield block. :yields: a Configuration object.
58 59 60 |
# File 'lib/paytrace/configuration.rb', line 58 def self.configure yield(configuration) if block_given? end |