Module: Bluepay
- Defined in:
- lib/bluepay.rb,
lib/bluepay/STQ.rb,
lib/bluepay/auth.rb,
lib/bluepay/base.rb,
lib/bluepay/card.rb,
lib/bluepay/sale.rb,
lib/bluepay/void.rb,
lib/bluepay/refund.rb,
lib/bluepay/report.rb,
lib/bluepay/BP10EMU.rb,
lib/bluepay/capture.rb,
lib/bluepay/request.rb,
lib/bluepay/version.rb,
lib/bluepay/response.rb,
lib/bluepay/interface.rb,
lib/bluepay/parameters.rb,
lib/bluepay/transaction.rb,
lib/bluepay/bank_account.rb,
lib/bluepay/BPDAILYREPORT2.rb,
lib/bluepay/transaction_base.rb,
lib/bluepay/tamper_proof_seal.rb
Defined Under Namespace
Modules: BP10EMU, BPDAILYREPORT2, Interface, Parameters, STQ, TamperProofSeal Classes: Auth, BankAccount, Base, Capture, Card, Refund, Report, Request, Response, Sale, Transaction, TransactionBase, Void
Constant Summary collapse
- HMAC_SHA512 =
'HMAC_SHA512'.freeze
- HMAC_SHA256 =
'HMAC_SHA256'.freeze
- SHA512 =
'SHA512'.freeze
- SHA256 =
'SHA256'.freeze
- MD5 =
'MD5'.freeze
- VERSION =
"0.2.0"
Class Attribute Summary collapse
-
.account_id ⇒ Object
Returns the value of attribute account_id.
- .hash_type ⇒ Object
- .mode ⇒ Object
- .response_version ⇒ Object
-
.secret_key ⇒ Object
Returns the value of attribute secret_key.
Class Attribute Details
.account_id ⇒ Object
Returns the value of attribute account_id.
18 19 20 |
# File 'lib/bluepay.rb', line 18 def account_id @account_id end |
.hash_type ⇒ Object
25 26 27 |
# File 'lib/bluepay.rb', line 25 def hash_type @hash_type ||= HMAC_SHA512 end |
.mode ⇒ Object
21 22 23 |
# File 'lib/bluepay.rb', line 21 def mode @mode ||= :test end |
.response_version ⇒ Object
29 30 31 |
# File 'lib/bluepay.rb', line 29 def response_version @response_version ||= '11' end |
.secret_key ⇒ Object
Returns the value of attribute secret_key.
18 19 20 |
# File 'lib/bluepay.rb', line 18 def secret_key @secret_key end |