Module: OffsitePayments::Integrations::Coinbase
- Defined in:
- lib/offsite_payments/integrations/coinbase.rb
Defined Under Namespace
Classes: Helper, Notification, Return
Class Method Summary collapse
-
.notification(post, options = {}) ⇒ Object
options should be { credential1: “your API key”, credential2: “your API secret” }.
- .return(query_string, options = {}) ⇒ Object
Class Method Details
.notification(post, options = {}) ⇒ Object
options should be { credential1: “your API key”, credential2: “your API secret” }
14 15 16 |
# File 'lib/offsite_payments/integrations/coinbase.rb', line 14 def self.notification(post, = {}) Notification.new(post, ) end |
.return(query_string, options = {}) ⇒ Object
18 19 20 |
# File 'lib/offsite_payments/integrations/coinbase.rb', line 18 def self.return(query_string, = {}) Return.new(query_string, ) end |