Class: Wirecard::Backend::Base
- Inherits:
-
Wirecard::Base
- Object
- Wirecard::Base
- Wirecard::Backend::Base
- Defined in:
- lib/wirecard/backend/base.rb
Direct Known Subclasses
ApproveReversal, Deposit, DepositReversal, GenerateOrderNumber, GetOrderDetails, RecurPayment, Refund, RefundReversal, TransferFund::Base
Instance Attribute Summary
Attributes inherited from Wirecard::Base
Instance Method Summary collapse
Methods inherited from Wirecard::Base
create, #initialize, #method_missing, #post, #respond_to_missing?
Constructor Details
This class inherits a constructor from Wirecard::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Wirecard::Base
Instance Method Details
#defaults ⇒ Object
12 13 14 15 16 17 |
# File 'lib/wirecard/backend/base.rb', line 12 def defaults super.merge( password: Wirecard.config.password, language: Wirecard.config.language ) end |
#implicit_fingerprint_order ⇒ Object
8 9 10 |
# File 'lib/wirecard/backend/base.rb', line 8 def implicit_fingerprint_order @implicit_fingerprint_order ||= [:customer_id, :shop_id, :password, :secret, :language] end |
#url ⇒ Object
4 5 6 |
# File 'lib/wirecard/backend/base.rb', line 4 def url @url ||= [Wirecard.config.endpoint, :backend, self.class.to_s.split('::').last.downcase].join('/') end |