Module: OffsitePayments::Integrations::Coinbase

Defined in:
lib/offsite_payments/integrations/coinbase.rb

Defined Under Namespace

Classes: Helper, Notification, Return

Class Method Summary collapse

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, options = {})
  Notification.new(post, options)
end

.return(query_string, options = {}) ⇒ Object



18
19
20
# File 'lib/offsite_payments/integrations/coinbase.rb', line 18

def self.return(query_string, options = {})
  Return.new(query_string, options)
end