module GoPay
Attributes
client_id[RW]
client_secret[RW]
gate[RW]
goid[RW]
notification_host[RW]
return_host[RW]
Public Class Methods
configure() { |self| ... }
click to toggle source
# File lib/gopay.rb, line 11 def self.configure yield self end
request(method, path, body_parameters: {})
click to toggle source
# File lib/gopay.rb, line 15 def self.request(method, path, body_parameters: {}) client = GoPay::Client.new({gate: gate, client_id: client_id, goid: goid, client_secret: client_secret}) client.request(method, path, body_parameters: body_parameters) end