payoneer_ruby_sdk 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +149 -0
- data/Rakefile +2 -0
- data/bin/console +8 -0
- data/lib/payoneer/api/cancel_payment.rb +13 -0
- data/lib/payoneer/api/change_payee_id.rb +14 -0
- data/lib/payoneer/api/core.rb +48 -0
- data/lib/payoneer/api/echo.rb +8 -0
- data/lib/payoneer/api/get_account_details.rb +8 -0
- data/lib/payoneer/api/get_payee_details.rb +11 -0
- data/lib/payoneer/api/get_payees_report.rb +15 -0
- data/lib/payoneer/api/get_payment_status.rb +14 -0
- data/lib/payoneer/api/get_single_payee_report.rb +11 -0
- data/lib/payoneer/api/get_token.rb +14 -0
- data/lib/payoneer/api/get_token_xml.rb +14 -0
- data/lib/payoneer/api/get_unclaimed_payments_csv.rb +11 -0
- data/lib/payoneer/api/get_unclaimed_payments_xml.rb +11 -0
- data/lib/payoneer/api/get_version.rb +8 -0
- data/lib/payoneer/api/perform_payout_payment.rb +19 -0
- data/lib/payoneer/api.rb +15 -0
- data/lib/payoneer/configuration.rb +46 -0
- data/lib/payoneer/errors/api_error.rb +17 -0
- data/lib/payoneer/errors/configuration_error.rb +6 -0
- data/lib/payoneer/errors.rb +2 -0
- data/lib/payoneer/response.rb +24 -0
- data/lib/payoneer/version.rb +3 -0
- data/lib/payoneer.rb +13 -0
- data/lib/payoneer_ruby_sdk/version.rb +1 -0
- data/lib/payoneer_ruby_sdk.rb +1 -0
- data/payoneer_ruby_sdk.gemspec +28 -0
- metadata +148 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 93ec7b28f44c376843c059ff34195120e76f863b
|
4
|
+
data.tar.gz: 9d913cbdcb45faa1f94ab919bbbee2c8f0592caf
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 76e6fdeed27314eb0a62da6b9617df5d68bf29131c89b4cb59164984d0fa9ab05f661e42a2c3bbf90fe5f3931ebe0ce74eeb5dd57cd6fe458e116a8d27288cd3
|
7
|
+
data.tar.gz: 04a35bb17cc879b4b1a1560b740f71cd5a820110c646df5bcc7b0e072d67d913b596dab8de6bd1543969e2dcdf6010077c56ce6a22db00c5b20eb1cc19459ddf
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2015 kissrobber
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,149 @@
|
|
1
|
+
# Payoneer Ruby SDK
|
2
|
+
|
3
|
+
Payoneer Ruby SDK.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'payoneer_ruby_sdk'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install payoneer_ruby_sdk
|
20
|
+
|
21
|
+
## Configuration
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
Payoneer.configure({
|
25
|
+
partner_username: '<payoneer_username>',
|
26
|
+
partner_api_password: '<payoneer_api_password>',
|
27
|
+
partner_id: '<payoneer_partner_id>',
|
28
|
+
program_id: '<payoneer_program_id>',
|
29
|
+
env: 'production'
|
30
|
+
})
|
31
|
+
```
|
32
|
+
|
33
|
+
## Usage
|
34
|
+
|
35
|
+
### General APIs
|
36
|
+
|
37
|
+
#### Echo
|
38
|
+
```ruby
|
39
|
+
Payoneer::Api::Echo.request
|
40
|
+
```
|
41
|
+
|
42
|
+
#### GetVersion
|
43
|
+
```ruby
|
44
|
+
Payoneer::Api::GetVersion.request
|
45
|
+
```
|
46
|
+
|
47
|
+
### Payee Registration
|
48
|
+
|
49
|
+
#### Payee Sign-up
|
50
|
+
```ruby
|
51
|
+
Payoneer::Api::GetToken.request(payee_id: 1000011)
|
52
|
+
```
|
53
|
+
|
54
|
+
#### Payee Sign-up / Auto Population
|
55
|
+
```ruby
|
56
|
+
data = '<?xml version="1.0" encoding="utf-8"?>
|
57
|
+
<PayoneerDetails>
|
58
|
+
<Details>
|
59
|
+
<apuid>123</apuid>
|
60
|
+
<sessionid></sessionid>
|
61
|
+
<redirect></redirect>
|
62
|
+
<redirectTime></redirectTime>
|
63
|
+
<PayoutMethodList></PayoutMethodList>
|
64
|
+
<RegMode></RegMode>
|
65
|
+
</Details>
|
66
|
+
<PersonalDetails>
|
67
|
+
<firstName></firstName>
|
68
|
+
<lastName></lastName>
|
69
|
+
<dateOfBirth></dateOfBirth>
|
70
|
+
<address1></address1>
|
71
|
+
<address2></address2>
|
72
|
+
<city></city>
|
73
|
+
<country></country>
|
74
|
+
<state></state>
|
75
|
+
<zipCode></zipCode>
|
76
|
+
<mobile></mobile>
|
77
|
+
<phone></phone>
|
78
|
+
<email></email>
|
79
|
+
</PersonalDetails>
|
80
|
+
</PayoneerDetails>
|
81
|
+
'
|
82
|
+
Payoneer::Api::GetTokenXml.request(xml: data)
|
83
|
+
```
|
84
|
+
|
85
|
+
### Payees
|
86
|
+
|
87
|
+
#### Get Payee Details
|
88
|
+
```ruby
|
89
|
+
Payoneer::Api::GetPayeeDetails.request(payee_id: 1000011)
|
90
|
+
```
|
91
|
+
|
92
|
+
#### Get Single Payee Report
|
93
|
+
```ruby
|
94
|
+
Payoneer::Api::GetSinglePayeeReport.request(payee_id: 1000011)
|
95
|
+
```
|
96
|
+
|
97
|
+
#### Get Payees Report
|
98
|
+
```ruby
|
99
|
+
Payoneer::Api::GetPayeesReport.request(start_date: '2015/09/01', end_date: '2015/10/2')
|
100
|
+
```
|
101
|
+
|
102
|
+
#### Change Payee Id
|
103
|
+
```ruby
|
104
|
+
Payoneer::Api::ChangePayeeId.request(old_payee_id: 1000002, new_payee_id: 2000002)
|
105
|
+
```
|
106
|
+
|
107
|
+
### Perform a Payment
|
108
|
+
|
109
|
+
#### Perform Payout Payment
|
110
|
+
```ruby
|
111
|
+
Payoneer::Api::PerformPayoutPayment.request(payment_id: 1, payee_id: 2000002, amount: 20, description: 'unko', currency: 'USD', payment_date: '2015/10/2')
|
112
|
+
```
|
113
|
+
|
114
|
+
### Payments
|
115
|
+
|
116
|
+
#### Cancel Payment
|
117
|
+
```ruby
|
118
|
+
Payoneer::Api::CancelPayment.request(payment_id: 1)
|
119
|
+
```
|
120
|
+
|
121
|
+
#### Get Payment Status
|
122
|
+
```ruby
|
123
|
+
Payoneer::Api::GetPaymentStatus.request(payee_id: 1000011, payment_id: 1)
|
124
|
+
```
|
125
|
+
|
126
|
+
#### Get Unclaimed Payments XML
|
127
|
+
```ruby
|
128
|
+
Payoneer::Api::GetUnclaimedPaymentsXML.request
|
129
|
+
```
|
130
|
+
|
131
|
+
#### Get Unclaimed Payments CSV
|
132
|
+
```ruby
|
133
|
+
Payoneer::Api::GetUnclaimedPaymentsCSV.request
|
134
|
+
```
|
135
|
+
|
136
|
+
### Account
|
137
|
+
|
138
|
+
#### Get Account Details
|
139
|
+
```ruby
|
140
|
+
Payoneer::Api::GetAccountDetails.request
|
141
|
+
```
|
142
|
+
|
143
|
+
## Contributing
|
144
|
+
|
145
|
+
1. Fork it ( https://github.com/kissrobber/payoneer_ruby_sdk/fork )
|
146
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
147
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
148
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
149
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
module Payoneer
|
2
|
+
module Api
|
3
|
+
# Payoneer::Api::ChangePayeeId.request(old_payee_id: 1000002, new_payee_id: 2000002)
|
4
|
+
module ChangePayeeId
|
5
|
+
include Payoneer::Api::Core
|
6
|
+
def self.to_api_params(old_payee_id: nil, new_payee_id: nil)
|
7
|
+
{
|
8
|
+
p4: old_payee_id,
|
9
|
+
p5: new_payee_id
|
10
|
+
}
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
module Payoneer
|
2
|
+
module Api
|
3
|
+
module Core
|
4
|
+
def self.included(base)
|
5
|
+
base.extend(ClassMethods)
|
6
|
+
end
|
7
|
+
module ClassMethods
|
8
|
+
def get_method_name
|
9
|
+
self.name.split('::').last
|
10
|
+
end
|
11
|
+
def to_api_params(params)
|
12
|
+
params
|
13
|
+
end
|
14
|
+
def to_response(response)
|
15
|
+
hash_response = Hash.from_xml(response.body)
|
16
|
+
inner_content = hash_response.values.first
|
17
|
+
::Payoneer::Response.new inner_content
|
18
|
+
end
|
19
|
+
|
20
|
+
def request(params = {})
|
21
|
+
params = to_api_params(params)
|
22
|
+
method_name = get_method_name
|
23
|
+
config.validate!
|
24
|
+
|
25
|
+
request_params = default_params.merge(mname: method_name).merge(params)
|
26
|
+
|
27
|
+
response = RestClient.post(config.api_url, request_params)
|
28
|
+
|
29
|
+
fail Errors::ApiError.new(response.code, response.body) unless response.code == 200
|
30
|
+
|
31
|
+
to_response(response)
|
32
|
+
end
|
33
|
+
|
34
|
+
def config
|
35
|
+
::Payoneer.config
|
36
|
+
end
|
37
|
+
|
38
|
+
def default_params
|
39
|
+
{
|
40
|
+
p1: config.partner_username,
|
41
|
+
p2: config.partner_api_password,
|
42
|
+
p3: config.partner_id,
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Payoneer
|
2
|
+
module Api
|
3
|
+
# Payoneer::Api::GetPayeesReport.request(start_date: '2015/09/01', end_date: '2015/10/2')
|
4
|
+
module GetPayeesReport
|
5
|
+
include Payoneer::Api::Core
|
6
|
+
def self.to_api_params(report_type: nil, start_date: nil, end_date: nil)
|
7
|
+
{
|
8
|
+
p4: report_type,
|
9
|
+
p5: start_date,
|
10
|
+
p6: end_date
|
11
|
+
}
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Payoneer
|
2
|
+
module Api
|
3
|
+
# Payoneer::Api::GetPaymentStatus.request(payee_id: 1000011, payment_id: 1)
|
4
|
+
module GetPaymentStatus
|
5
|
+
include Payoneer::Api::Core
|
6
|
+
def self.to_api_params(payee_id: nil, payment_id: nil)
|
7
|
+
{
|
8
|
+
p4: payee_id,
|
9
|
+
p5: payment_id
|
10
|
+
}
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Payoneer
|
2
|
+
module Api
|
3
|
+
# Payoneer::Api::GetToken.request(payee_id: 1000011)
|
4
|
+
module GetToken
|
5
|
+
include Payoneer::Api::Core
|
6
|
+
def self.to_api_params(payee_id: nil)
|
7
|
+
{ p4: payee_id }
|
8
|
+
end
|
9
|
+
def self.to_response(response)
|
10
|
+
response
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Payoneer
|
2
|
+
module Api
|
3
|
+
# Payoneer::Api::GetTokenXml.request(xml: data)
|
4
|
+
module GetTokenXml
|
5
|
+
include Payoneer::Api::Core
|
6
|
+
def self.to_api_params(xml: nil)
|
7
|
+
{ xml: xml }
|
8
|
+
end
|
9
|
+
def self.to_response(response)
|
10
|
+
response
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Payoneer
|
2
|
+
module Api
|
3
|
+
# Payoneer::Api::PerformPayoutPayment.request(payment_id: 1, payee_id: 2000002, amount: 20, description: 'unkounkounko', currency: 'USD', payment_date: '2015/10/2')
|
4
|
+
module PerformPayoutPayment
|
5
|
+
include Payoneer::Api::Core
|
6
|
+
def self.to_api_params(payment_id: nil, payee_id: nil, amount: nil, description: nil, payment_date: nil, currency: nil)
|
7
|
+
{
|
8
|
+
p4: config.program_id,
|
9
|
+
p5: payment_id,
|
10
|
+
p6: payee_id,
|
11
|
+
p7: amount,
|
12
|
+
p8: description,
|
13
|
+
p9: payment_date,
|
14
|
+
currency: currency
|
15
|
+
}
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/lib/payoneer/api.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'payoneer/api/core'
|
2
|
+
require 'payoneer/api/echo'
|
3
|
+
require 'payoneer/api/get_token'
|
4
|
+
require 'payoneer/api/get_token_xml'
|
5
|
+
require 'payoneer/api/get_version'
|
6
|
+
require 'payoneer/api/get_payee_details'
|
7
|
+
require 'payoneer/api/get_single_payee_report'
|
8
|
+
require 'payoneer/api/get_payees_report'
|
9
|
+
require 'payoneer/api/change_payee_id'
|
10
|
+
require 'payoneer/api/perform_payout_payment'
|
11
|
+
require 'payoneer/api/cancel_payment'
|
12
|
+
require 'payoneer/api/get_payment_status'
|
13
|
+
require 'payoneer/api/get_unclaimed_payments_xml'
|
14
|
+
require 'payoneer/api/get_unclaimed_payments_csv'
|
15
|
+
require 'payoneer/api/get_account_details'
|
@@ -0,0 +1,46 @@
|
|
1
|
+
require 'erb'
|
2
|
+
require 'yaml'
|
3
|
+
|
4
|
+
module Payoneer
|
5
|
+
module Configuration
|
6
|
+
def self.included(base)
|
7
|
+
base.extend(ClassMethods)
|
8
|
+
end
|
9
|
+
|
10
|
+
module ClassMethods
|
11
|
+
def config
|
12
|
+
@@config
|
13
|
+
rescue
|
14
|
+
raise ::Payoneer::Errors::ConfigurationError.new
|
15
|
+
end
|
16
|
+
|
17
|
+
def configure(options)
|
18
|
+
@@config = ::Payoneer::Config.new(options)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
class Config
|
23
|
+
SANDBOX_API_URL = 'https://api.sandbox.payoneer.com/Payouts/HttpApi/API.aspx'
|
24
|
+
PRODUCTION_API_URL = 'https://api.payoneer.com/Payouts/HttpApi/API.aspx'
|
25
|
+
attr_accessor :partner_username, :partner_api_password, :partner_id, :program_id, :env
|
26
|
+
|
27
|
+
def initialize(options)
|
28
|
+
options.each do |key, value|
|
29
|
+
send("#{key}=", value)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def validate!
|
34
|
+
raise ConfigurationError.new unless %w(partner_username partner_api_password partner_id program_id env).all?{|k| self.send(k).present? }
|
35
|
+
end
|
36
|
+
|
37
|
+
def production?
|
38
|
+
self.env == 'production'
|
39
|
+
end
|
40
|
+
|
41
|
+
def api_url
|
42
|
+
production? ? PRODUCTION_API_URL : SANDBOX_API_URL
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module Payoneer
|
2
|
+
module Errors
|
3
|
+
class ApiError < StandardError
|
4
|
+
attr_reader :http_status
|
5
|
+
attr_reader :http_body
|
6
|
+
|
7
|
+
def initialize(http_status = nil, http_body = nil)
|
8
|
+
@http_status = http_status
|
9
|
+
@http_body = http_body
|
10
|
+
end
|
11
|
+
|
12
|
+
def to_s
|
13
|
+
"(Status #{http_status}) Unexpected http response code"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module Payoneer
|
2
|
+
class Response < OpenStruct
|
3
|
+
OK_STATUS_CODE = '000'
|
4
|
+
|
5
|
+
def initialize(hash)
|
6
|
+
super(convert_hash_keys(hash))
|
7
|
+
end
|
8
|
+
|
9
|
+
def convert_hash_keys(value)
|
10
|
+
case value
|
11
|
+
when Array
|
12
|
+
value.map { |v| convert_hash_keys(v) }
|
13
|
+
when Hash
|
14
|
+
Hash[value.map { |k, v| [k.underscore, convert_hash_keys(v)] }]
|
15
|
+
else
|
16
|
+
value
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def ok?
|
21
|
+
self.status == OK_STATUS_CODE
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
data/lib/payoneer.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
require "payoneer/version"
|
2
|
+
require 'rest-client'
|
3
|
+
require 'active_support'
|
4
|
+
require 'active_support/core_ext'
|
5
|
+
|
6
|
+
require 'payoneer/configuration'
|
7
|
+
require 'payoneer/response'
|
8
|
+
require 'payoneer/errors'
|
9
|
+
require 'payoneer/api'
|
10
|
+
|
11
|
+
module Payoneer
|
12
|
+
include ::Payoneer::Configuration
|
13
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require "payoneer/version"
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'payoneer'
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'payoneer/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "payoneer_ruby_sdk"
|
8
|
+
spec.version = Payoneer::VERSION
|
9
|
+
spec.authors = ["kissrobber"]
|
10
|
+
spec.email = ["kissrobber@gmail.com"]
|
11
|
+
spec.summary = %q{Payoneer Ruby SDK}
|
12
|
+
spec.description = %q{Payoneer Ruby SDK}
|
13
|
+
spec.homepage = "https://github.com/kissrobber/payoneer_ruby_sdk"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_dependency 'rest-client'
|
22
|
+
spec.add_dependency 'activesupport'
|
23
|
+
|
24
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
25
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
26
|
+
spec.add_development_dependency "byebug"
|
27
|
+
|
28
|
+
end
|
metadata
ADDED
@@ -0,0 +1,148 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: payoneer_ruby_sdk
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- kissrobber
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-10-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rest-client
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activesupport
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.7'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.7'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '10.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '10.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: byebug
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
description: Payoneer Ruby SDK
|
84
|
+
email:
|
85
|
+
- kissrobber@gmail.com
|
86
|
+
executables:
|
87
|
+
- console
|
88
|
+
extensions: []
|
89
|
+
extra_rdoc_files: []
|
90
|
+
files:
|
91
|
+
- .gitignore
|
92
|
+
- Gemfile
|
93
|
+
- LICENSE.txt
|
94
|
+
- README.md
|
95
|
+
- Rakefile
|
96
|
+
- bin/console
|
97
|
+
- lib/payoneer.rb
|
98
|
+
- lib/payoneer/api.rb
|
99
|
+
- lib/payoneer/api/cancel_payment.rb
|
100
|
+
- lib/payoneer/api/change_payee_id.rb
|
101
|
+
- lib/payoneer/api/core.rb
|
102
|
+
- lib/payoneer/api/echo.rb
|
103
|
+
- lib/payoneer/api/get_account_details.rb
|
104
|
+
- lib/payoneer/api/get_payee_details.rb
|
105
|
+
- lib/payoneer/api/get_payees_report.rb
|
106
|
+
- lib/payoneer/api/get_payment_status.rb
|
107
|
+
- lib/payoneer/api/get_single_payee_report.rb
|
108
|
+
- lib/payoneer/api/get_token.rb
|
109
|
+
- lib/payoneer/api/get_token_xml.rb
|
110
|
+
- lib/payoneer/api/get_unclaimed_payments_csv.rb
|
111
|
+
- lib/payoneer/api/get_unclaimed_payments_xml.rb
|
112
|
+
- lib/payoneer/api/get_version.rb
|
113
|
+
- lib/payoneer/api/perform_payout_payment.rb
|
114
|
+
- lib/payoneer/configuration.rb
|
115
|
+
- lib/payoneer/errors.rb
|
116
|
+
- lib/payoneer/errors/api_error.rb
|
117
|
+
- lib/payoneer/errors/configuration_error.rb
|
118
|
+
- lib/payoneer/response.rb
|
119
|
+
- lib/payoneer/version.rb
|
120
|
+
- lib/payoneer_ruby_sdk.rb
|
121
|
+
- lib/payoneer_ruby_sdk/version.rb
|
122
|
+
- payoneer_ruby_sdk.gemspec
|
123
|
+
homepage: https://github.com/kissrobber/payoneer_ruby_sdk
|
124
|
+
licenses:
|
125
|
+
- MIT
|
126
|
+
metadata: {}
|
127
|
+
post_install_message:
|
128
|
+
rdoc_options: []
|
129
|
+
require_paths:
|
130
|
+
- lib
|
131
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - '>='
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - '>='
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
requirements: []
|
142
|
+
rubyforge_project:
|
143
|
+
rubygems_version: 2.0.14
|
144
|
+
signing_key:
|
145
|
+
specification_version: 4
|
146
|
+
summary: Payoneer Ruby SDK
|
147
|
+
test_files: []
|
148
|
+
has_rdoc:
|