Sha256: fe992e4edd98f02290898b596d7ac1a5c9e6bcafbd7447ea756a7809f3cc53b4
Contents?: true
Size: 659 Bytes
Versions: 1
Compression:
Stored size: 659 Bytes
Contents
require 'json' require 'faraday' require 'dry-initializer' require 'payu_api/version' require 'payu_api/errors' require 'payu_api/request' require 'payu_api/api_request' require 'payu_api/auth_request' require 'payu_api/response' require 'payu_api/responses/auth_response' require 'payu_api/responses/get_response' require 'payu_api/responses/create_response' require 'payu_api/responses/refund_response' require 'payu_api/order' require 'payu_api/client' module PayuAPI def self.authorize(pos_id:, key:, sandbox: false) request = AuthRequest.new(pos_id: pos_id, key: key, sandbox: sandbox) AuthResponse.new(http_response: request.call) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
payu_api-0.1.1 | lib/payu_api.rb |