simplify 1.0.1 → 1.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.
- data/lib/simplify.rb +2 -0
- data/lib/simplify/accesstoken.rb +111 -0
- data/lib/simplify/authentication.rb +64 -0
- data/lib/simplify/cardtoken.rb +32 -30
- data/lib/simplify/chargeback.rb +33 -32
- data/lib/simplify/constants.rb +8 -4
- data/lib/simplify/coupon.rb +42 -48
- data/lib/simplify/customer.rb +43 -48
- data/lib/simplify/deposit.rb +32 -31
- data/lib/simplify/event.rb +5 -13
- data/lib/simplify/invoice.rb +34 -33
- data/lib/simplify/invoiceitem.rb +42 -48
- data/lib/simplify/payment.rb +41 -46
- data/lib/simplify/paymentsapi.rb +158 -26
- data/lib/simplify/plan.rb +42 -48
- data/lib/simplify/refund.rb +41 -46
- data/lib/simplify/subscription.rb +42 -48
- data/lib/simplify/webhook.rb +42 -48
- metadata +70 -65
data/lib/simplify/refund.rb
CHANGED
@@ -33,12 +33,28 @@ module Simplify
|
|
33
33
|
#
|
34
34
|
class Refund < Hash
|
35
35
|
|
36
|
-
#
|
37
|
-
attr_accessor :
|
36
|
+
# Authentication object used to access the API (See Simplify::Authentication for details)
|
37
|
+
attr_accessor :authentication
|
38
38
|
|
39
|
-
#
|
40
|
-
|
39
|
+
# Returns the public key used when accessing this object. <b>Deprecated: please use 'authentication' instead.</b>
|
40
|
+
def public_key
|
41
|
+
return self.authentication.public_key
|
42
|
+
end
|
41
43
|
|
44
|
+
# Sets the public key used when accessing this object. <b>Deprecated: please use 'authentication' instead.</b>
|
45
|
+
def public_key=(k)
|
46
|
+
return self.authentication.public_key = k
|
47
|
+
end
|
48
|
+
|
49
|
+
# Returns the private key used when accessing this object. <b>Deprecated: please use 'authentication' instead.</b>
|
50
|
+
def private_key
|
51
|
+
return self.authentication.private_key
|
52
|
+
end
|
53
|
+
|
54
|
+
# Sets the private key used when accessing this object. <b>Deprecated: please use 'authentication' instead.</b>
|
55
|
+
def private_key=(k)
|
56
|
+
return self.authentication.private_key = k
|
57
|
+
end
|
42
58
|
|
43
59
|
|
44
60
|
# Creates an Refund object
|
@@ -47,22 +63,16 @@ class Refund < Hash
|
|
47
63
|
# * <code>amount</code> Amount of the refund in minor units. Example: 1000 = 10.00 <b>required </b>
|
48
64
|
# * <code>payment</code> ID of the payment for the refund <b>required </b>
|
49
65
|
# * <code>reason</code> Reason for the refund
|
50
|
-
#
|
51
|
-
#
|
66
|
+
# * <code>reference</code> Custom reference field to be used with outside systems.
|
67
|
+
# auth:: Authentication information used for the API call. If no value is passed the global keys Simplify::public_key and Simplify::private_key are used. For backwards compatibility the public and private keys may be passed instead of the authentication object.
|
52
68
|
# Returns a Refund object.
|
53
|
-
def self.create(parms,
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
if private_key == nil then
|
58
|
-
private_key = Simplify::private_key
|
59
|
-
end
|
60
|
-
|
61
|
-
h = Simplify::PaymentsApi.execute("refund", 'create', parms, public_key, private_key)
|
69
|
+
def self.create(parms, *auth)
|
70
|
+
|
71
|
+
auth_obj = Simplify::PaymentsApi.create_auth_object(auth)
|
72
|
+
h = Simplify::PaymentsApi.execute("refund", 'create', parms, auth_obj)
|
62
73
|
obj = Refund.new()
|
63
|
-
obj.
|
64
|
-
obj
|
65
|
-
obj = obj.merge(h)
|
74
|
+
obj.authentication = auth_obj
|
75
|
+
obj = obj.merge!(h)
|
66
76
|
obj
|
67
77
|
end
|
68
78
|
|
@@ -72,24 +82,16 @@ class Refund < Hash
|
|
72
82
|
# * <code>max</code> Allows up to a max of 50 list items to return. <b>default:20</b>
|
73
83
|
# * <code>offset</code> Used in paging of the list. This is the start offset of the page. <b>default:0</b>
|
74
84
|
# * <code>sorting</code> Allows for ascending or descending sorting of the list. The value maps properties to the sort direction (either <code>asc</code> for ascending or <code>desc</code> for descending). Sortable properties are: <code> id</code><code> amount</code><code> description</code><code> dateCreated</code><code> paymentDate</code>.
|
75
|
-
#
|
76
|
-
# private_key:: Private key to use for the API call. If nil, the value of Simplify::private_key will be used.
|
85
|
+
# auth:: Authentication information used for the API call. If no value is passed the global keys Simplify::public_key and Simplify::private_key are used. For backwards compatibility the public and private keys may be passed instead of the authentication object.
|
77
86
|
# Returns an object where the <code>list</code> property contains the list of Refund objects and the <code>total</code>
|
78
87
|
# property contains the total number of Refund objects available for the given criteria.
|
79
|
-
def self.list(criteria = nil,
|
88
|
+
def self.list(criteria = nil, *auth)
|
80
89
|
|
81
|
-
|
82
|
-
|
83
|
-
end
|
84
|
-
if private_key == nil then
|
85
|
-
private_key = Simplify::private_key
|
86
|
-
end
|
87
|
-
|
88
|
-
h = Simplify::PaymentsApi.execute("refund", 'list', criteria, public_key, private_key)
|
90
|
+
auth_obj = Simplify::PaymentsApi.create_auth_object(auth)
|
91
|
+
h = Simplify::PaymentsApi.execute("refund", 'list', criteria, auth_obj)
|
89
92
|
obj = Refund.new()
|
90
|
-
obj.
|
91
|
-
obj
|
92
|
-
obj = obj.merge(h)
|
93
|
+
obj.authentication = auth_obj
|
94
|
+
obj = obj.merge!(h)
|
93
95
|
obj
|
94
96
|
|
95
97
|
end
|
@@ -97,22 +99,15 @@ class Refund < Hash
|
|
97
99
|
# Retrieve a Refund object from the API
|
98
100
|
#
|
99
101
|
# id:: ID of object to retrieve
|
100
|
-
#
|
101
|
-
# private_key:: Private key to use for the API call. If nil, the value of Simplify::private_key will be used.
|
102
|
+
# auth:: Authentication information used for the API call. If no value is passed the global keys Simplify::public_key and Simplify::private_key are used. For backwards compatibility the public and private keys may be passed instead of the authentication object.
|
102
103
|
# Returns a Refund object.
|
103
|
-
def self.find(id,
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
if private_key == nil then
|
108
|
-
private_key = Simplify::private_key
|
109
|
-
end
|
110
|
-
|
111
|
-
h = Simplify::PaymentsApi.execute("refund", 'show', {"id" => id}, public_key, private_key)
|
104
|
+
def self.find(id, *auth)
|
105
|
+
|
106
|
+
auth_obj = Simplify::PaymentsApi.create_auth_object(auth)
|
107
|
+
h = Simplify::PaymentsApi.execute("refund", 'show', {"id" => id}, auth_obj)
|
112
108
|
obj = Refund.new()
|
113
|
-
obj.
|
114
|
-
obj
|
115
|
-
obj = obj.merge(h)
|
109
|
+
obj.authentication = auth_obj
|
110
|
+
obj = obj.merge!(h)
|
116
111
|
obj
|
117
112
|
end
|
118
113
|
|
@@ -33,12 +33,28 @@ module Simplify
|
|
33
33
|
#
|
34
34
|
class Subscription < Hash
|
35
35
|
|
36
|
-
#
|
37
|
-
attr_accessor :
|
36
|
+
# Authentication object used to access the API (See Simplify::Authentication for details)
|
37
|
+
attr_accessor :authentication
|
38
38
|
|
39
|
-
#
|
40
|
-
|
39
|
+
# Returns the public key used when accessing this object. <b>Deprecated: please use 'authentication' instead.</b>
|
40
|
+
def public_key
|
41
|
+
return self.authentication.public_key
|
42
|
+
end
|
41
43
|
|
44
|
+
# Sets the public key used when accessing this object. <b>Deprecated: please use 'authentication' instead.</b>
|
45
|
+
def public_key=(k)
|
46
|
+
return self.authentication.public_key = k
|
47
|
+
end
|
48
|
+
|
49
|
+
# Returns the private key used when accessing this object. <b>Deprecated: please use 'authentication' instead.</b>
|
50
|
+
def private_key
|
51
|
+
return self.authentication.private_key
|
52
|
+
end
|
53
|
+
|
54
|
+
# Sets the private key used when accessing this object. <b>Deprecated: please use 'authentication' instead.</b>
|
55
|
+
def private_key=(k)
|
56
|
+
return self.authentication.private_key = k
|
57
|
+
end
|
42
58
|
|
43
59
|
|
44
60
|
# Creates an Subscription object
|
@@ -52,28 +68,21 @@ class Subscription < Hash
|
|
52
68
|
# * <code>name</code> Name describing subscription
|
53
69
|
# * <code>plan</code> The ID of the plan that should be used for the subscription.
|
54
70
|
# * <code>quantity</code> Quantity of the plan for the subscription.
|
55
|
-
#
|
56
|
-
# private_key:: Private key to use for the API call. If nil, the value of Simplify::private_key will be used.
|
71
|
+
# auth:: Authentication information used for the API call. If no value is passed the global keys Simplify::public_key and Simplify::private_key are used. For backwards compatibility the public and private keys may be passed instead of the authentication object.
|
57
72
|
# Returns a Subscription object.
|
58
|
-
def self.create(parms,
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
if private_key == nil then
|
63
|
-
private_key = Simplify::private_key
|
64
|
-
end
|
65
|
-
|
66
|
-
h = Simplify::PaymentsApi.execute("subscription", 'create', parms, public_key, private_key)
|
73
|
+
def self.create(parms, *auth)
|
74
|
+
|
75
|
+
auth_obj = Simplify::PaymentsApi.create_auth_object(auth)
|
76
|
+
h = Simplify::PaymentsApi.execute("subscription", 'create', parms, auth_obj)
|
67
77
|
obj = Subscription.new()
|
68
|
-
obj.
|
69
|
-
obj
|
70
|
-
obj = obj.merge(h)
|
78
|
+
obj.authentication = auth_obj
|
79
|
+
obj = obj.merge!(h)
|
71
80
|
obj
|
72
81
|
end
|
73
82
|
|
74
83
|
# Delete this object
|
75
84
|
def delete()
|
76
|
-
h = Simplify::PaymentsApi.execute("subscription", 'delete', self, self.
|
85
|
+
h = Simplify::PaymentsApi.execute("subscription", 'delete', self, self.authentication)
|
77
86
|
self.merge!(h)
|
78
87
|
self
|
79
88
|
end
|
@@ -84,24 +93,16 @@ class Subscription < Hash
|
|
84
93
|
# * <code>max</code> Allows up to a max of 50 list items to return. <b>default:20</b>
|
85
94
|
# * <code>offset</code> Used in paging of the list. This is the start offset of the page. <b>default:0</b>
|
86
95
|
# * <code>sorting</code> Allows for ascending or descending sorting of the list. The value maps properties to the sort direction (either <code>asc</code> for ascending or <code>desc</code> for descending). Sortable properties are: <code> id</code><code> plan</code>.
|
87
|
-
#
|
88
|
-
# private_key:: Private key to use for the API call. If nil, the value of Simplify::private_key will be used.
|
96
|
+
# auth:: Authentication information used for the API call. If no value is passed the global keys Simplify::public_key and Simplify::private_key are used. For backwards compatibility the public and private keys may be passed instead of the authentication object.
|
89
97
|
# Returns an object where the <code>list</code> property contains the list of Subscription objects and the <code>total</code>
|
90
98
|
# property contains the total number of Subscription objects available for the given criteria.
|
91
|
-
def self.list(criteria = nil,
|
99
|
+
def self.list(criteria = nil, *auth)
|
92
100
|
|
93
|
-
|
94
|
-
|
95
|
-
end
|
96
|
-
if private_key == nil then
|
97
|
-
private_key = Simplify::private_key
|
98
|
-
end
|
99
|
-
|
100
|
-
h = Simplify::PaymentsApi.execute("subscription", 'list', criteria, public_key, private_key)
|
101
|
+
auth_obj = Simplify::PaymentsApi.create_auth_object(auth)
|
102
|
+
h = Simplify::PaymentsApi.execute("subscription", 'list', criteria, auth_obj)
|
101
103
|
obj = Subscription.new()
|
102
|
-
obj.
|
103
|
-
obj
|
104
|
-
obj = obj.merge(h)
|
104
|
+
obj.authentication = auth_obj
|
105
|
+
obj = obj.merge!(h)
|
105
106
|
obj
|
106
107
|
|
107
108
|
end
|
@@ -109,22 +110,15 @@ class Subscription < Hash
|
|
109
110
|
# Retrieve a Subscription object from the API
|
110
111
|
#
|
111
112
|
# id:: ID of object to retrieve
|
112
|
-
#
|
113
|
-
# private_key:: Private key to use for the API call. If nil, the value of Simplify::private_key will be used.
|
113
|
+
# auth:: Authentication information used for the API call. If no value is passed the global keys Simplify::public_key and Simplify::private_key are used. For backwards compatibility the public and private keys may be passed instead of the authentication object.
|
114
114
|
# Returns a Subscription object.
|
115
|
-
def self.find(id,
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
if private_key == nil then
|
120
|
-
private_key = Simplify::private_key
|
121
|
-
end
|
122
|
-
|
123
|
-
h = Simplify::PaymentsApi.execute("subscription", 'show', {"id" => id}, public_key, private_key)
|
115
|
+
def self.find(id, *auth)
|
116
|
+
|
117
|
+
auth_obj = Simplify::PaymentsApi.create_auth_object(auth)
|
118
|
+
h = Simplify::PaymentsApi.execute("subscription", 'show', {"id" => id}, auth_obj)
|
124
119
|
obj = Subscription.new()
|
125
|
-
obj.
|
126
|
-
obj
|
127
|
-
obj = obj.merge(h)
|
120
|
+
obj.authentication = auth_obj
|
121
|
+
obj = obj.merge!(h)
|
128
122
|
obj
|
129
123
|
end
|
130
124
|
|
@@ -140,7 +134,7 @@ class Subscription < Hash
|
|
140
134
|
# * <code>prorate</code> Whether to prorate existing subscription. <b>(required)</b>
|
141
135
|
# * <code>quantity</code> Quantity of the plan for the subscription.
|
142
136
|
def update()
|
143
|
-
h = Simplify::PaymentsApi.execute("subscription", 'update', self, self.
|
137
|
+
h = Simplify::PaymentsApi.execute("subscription", 'update', self, self.authentication)
|
144
138
|
self.merge!(h)
|
145
139
|
self
|
146
140
|
end
|
data/lib/simplify/webhook.rb
CHANGED
@@ -33,40 +33,49 @@ module Simplify
|
|
33
33
|
#
|
34
34
|
class Webhook < Hash
|
35
35
|
|
36
|
-
#
|
37
|
-
attr_accessor :
|
36
|
+
# Authentication object used to access the API (See Simplify::Authentication for details)
|
37
|
+
attr_accessor :authentication
|
38
38
|
|
39
|
-
#
|
40
|
-
|
39
|
+
# Returns the public key used when accessing this object. <b>Deprecated: please use 'authentication' instead.</b>
|
40
|
+
def public_key
|
41
|
+
return self.authentication.public_key
|
42
|
+
end
|
41
43
|
|
44
|
+
# Sets the public key used when accessing this object. <b>Deprecated: please use 'authentication' instead.</b>
|
45
|
+
def public_key=(k)
|
46
|
+
return self.authentication.public_key = k
|
47
|
+
end
|
48
|
+
|
49
|
+
# Returns the private key used when accessing this object. <b>Deprecated: please use 'authentication' instead.</b>
|
50
|
+
def private_key
|
51
|
+
return self.authentication.private_key
|
52
|
+
end
|
53
|
+
|
54
|
+
# Sets the private key used when accessing this object. <b>Deprecated: please use 'authentication' instead.</b>
|
55
|
+
def private_key=(k)
|
56
|
+
return self.authentication.private_key = k
|
57
|
+
end
|
42
58
|
|
43
59
|
|
44
60
|
# Creates an Webhook object
|
45
61
|
#
|
46
62
|
# parms:: a hash of parameters; valid keys are:
|
47
63
|
# * <code>url</code> Endpoint URL <b>required </b>
|
48
|
-
#
|
49
|
-
# private_key:: Private key to use for the API call. If nil, the value of Simplify::private_key will be used.
|
64
|
+
# auth:: Authentication information used for the API call. If no value is passed the global keys Simplify::public_key and Simplify::private_key are used. For backwards compatibility the public and private keys may be passed instead of the authentication object.
|
50
65
|
# Returns a Webhook object.
|
51
|
-
def self.create(parms,
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
if private_key == nil then
|
56
|
-
private_key = Simplify::private_key
|
57
|
-
end
|
58
|
-
|
59
|
-
h = Simplify::PaymentsApi.execute("webhook", 'create', parms, public_key, private_key)
|
66
|
+
def self.create(parms, *auth)
|
67
|
+
|
68
|
+
auth_obj = Simplify::PaymentsApi.create_auth_object(auth)
|
69
|
+
h = Simplify::PaymentsApi.execute("webhook", 'create', parms, auth_obj)
|
60
70
|
obj = Webhook.new()
|
61
|
-
obj.
|
62
|
-
obj
|
63
|
-
obj = obj.merge(h)
|
71
|
+
obj.authentication = auth_obj
|
72
|
+
obj = obj.merge!(h)
|
64
73
|
obj
|
65
74
|
end
|
66
75
|
|
67
76
|
# Delete this object
|
68
77
|
def delete()
|
69
|
-
h = Simplify::PaymentsApi.execute("webhook", 'delete', self, self.
|
78
|
+
h = Simplify::PaymentsApi.execute("webhook", 'delete', self, self.authentication)
|
70
79
|
self.merge!(h)
|
71
80
|
self
|
72
81
|
end
|
@@ -77,24 +86,16 @@ class Webhook < Hash
|
|
77
86
|
# * <code>max</code> Allows up to a max of 50 list items to return. <b>default:20</b>
|
78
87
|
# * <code>offset</code> Used in paging of the list. This is the start offset of the page. <b>default:0</b>
|
79
88
|
# * <code>sorting</code> Allows for ascending or descending sorting of the list. The value maps properties to the sort direction (either <code>asc</code> for ascending or <code>desc</code> for descending). Sortable properties are: <code> dateCreated</code>.
|
80
|
-
#
|
81
|
-
# private_key:: Private key to use for the API call. If nil, the value of Simplify::private_key will be used.
|
89
|
+
# auth:: Authentication information used for the API call. If no value is passed the global keys Simplify::public_key and Simplify::private_key are used. For backwards compatibility the public and private keys may be passed instead of the authentication object.
|
82
90
|
# Returns an object where the <code>list</code> property contains the list of Webhook objects and the <code>total</code>
|
83
91
|
# property contains the total number of Webhook objects available for the given criteria.
|
84
|
-
def self.list(criteria = nil,
|
92
|
+
def self.list(criteria = nil, *auth)
|
85
93
|
|
86
|
-
|
87
|
-
|
88
|
-
end
|
89
|
-
if private_key == nil then
|
90
|
-
private_key = Simplify::private_key
|
91
|
-
end
|
92
|
-
|
93
|
-
h = Simplify::PaymentsApi.execute("webhook", 'list', criteria, public_key, private_key)
|
94
|
+
auth_obj = Simplify::PaymentsApi.create_auth_object(auth)
|
95
|
+
h = Simplify::PaymentsApi.execute("webhook", 'list', criteria, auth_obj)
|
94
96
|
obj = Webhook.new()
|
95
|
-
obj.
|
96
|
-
obj
|
97
|
-
obj = obj.merge(h)
|
97
|
+
obj.authentication = auth_obj
|
98
|
+
obj = obj.merge!(h)
|
98
99
|
obj
|
99
100
|
|
100
101
|
end
|
@@ -102,22 +103,15 @@ class Webhook < Hash
|
|
102
103
|
# Retrieve a Webhook object from the API
|
103
104
|
#
|
104
105
|
# id:: ID of object to retrieve
|
105
|
-
#
|
106
|
-
# private_key:: Private key to use for the API call. If nil, the value of Simplify::private_key will be used.
|
106
|
+
# auth:: Authentication information used for the API call. If no value is passed the global keys Simplify::public_key and Simplify::private_key are used. For backwards compatibility the public and private keys may be passed instead of the authentication object.
|
107
107
|
# Returns a Webhook object.
|
108
|
-
def self.find(id,
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
if private_key == nil then
|
113
|
-
private_key = Simplify::private_key
|
114
|
-
end
|
115
|
-
|
116
|
-
h = Simplify::PaymentsApi.execute("webhook", 'show', {"id" => id}, public_key, private_key)
|
108
|
+
def self.find(id, *auth)
|
109
|
+
|
110
|
+
auth_obj = Simplify::PaymentsApi.create_auth_object(auth)
|
111
|
+
h = Simplify::PaymentsApi.execute("webhook", 'show', {"id" => id}, auth_obj)
|
117
112
|
obj = Webhook.new()
|
118
|
-
obj.
|
119
|
-
obj
|
120
|
-
obj = obj.merge(h)
|
113
|
+
obj.authentication = auth_obj
|
114
|
+
obj = obj.merge!(h)
|
121
115
|
obj
|
122
116
|
end
|
123
117
|
|
@@ -126,7 +120,7 @@ class Webhook < Hash
|
|
126
120
|
# The properties that can be updated:
|
127
121
|
# * <code>url</code> Endpoint URL <b>(required)</b>
|
128
122
|
def update()
|
129
|
-
h = Simplify::PaymentsApi.execute("webhook", 'update', self, self.
|
123
|
+
h = Simplify::PaymentsApi.execute("webhook", 'update', self, self.authentication)
|
130
124
|
self.merge!(h)
|
131
125
|
self
|
132
126
|
end
|
metadata
CHANGED
@@ -1,71 +1,70 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplify
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 1
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
version: 1.1.0
|
6
10
|
platform: ruby
|
7
|
-
authors:
|
11
|
+
authors:
|
8
12
|
- Simplify Commerce
|
9
13
|
autorequire:
|
10
14
|
bindir: bin
|
11
15
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
16
|
+
|
17
|
+
date: 2013-10-14 00:00:00 +01:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: rest-client
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :runtime
|
23
22
|
prerelease: false
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
name: json
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '0'
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
version: "0"
|
38
30
|
type: :runtime
|
31
|
+
version_requirements: *id001
|
32
|
+
- !ruby/object:Gem::Dependency
|
33
|
+
name: json
|
39
34
|
prerelease: false
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
name: ruby-hmac
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ! '>='
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '0'
|
35
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
segments:
|
40
|
+
- 0
|
41
|
+
version: "0"
|
54
42
|
type: :runtime
|
43
|
+
version_requirements: *id002
|
44
|
+
- !ruby/object:Gem::Dependency
|
45
|
+
name: ruby-hmac
|
55
46
|
prerelease: false
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
47
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
48
|
+
requirements:
|
49
|
+
- - ">="
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
segments:
|
52
|
+
- 0
|
53
|
+
version: "0"
|
54
|
+
type: :runtime
|
55
|
+
version_requirements: *id003
|
62
56
|
description: Ruby access to the Simplify Commerce API
|
63
57
|
email: support@simplify.com
|
64
58
|
executables: []
|
59
|
+
|
65
60
|
extensions: []
|
61
|
+
|
66
62
|
extra_rdoc_files: []
|
67
|
-
|
63
|
+
|
64
|
+
files:
|
65
|
+
- lib/simplify/accesstoken.rb
|
68
66
|
- lib/simplify/apiexception.rb
|
67
|
+
- lib/simplify/authentication.rb
|
69
68
|
- lib/simplify/cardtoken.rb
|
70
69
|
- lib/simplify/chargeback.rb
|
71
70
|
- lib/simplify/constants.rb
|
@@ -82,29 +81,35 @@ files:
|
|
82
81
|
- lib/simplify/subscription.rb
|
83
82
|
- lib/simplify/webhook.rb
|
84
83
|
- lib/simplify.rb
|
84
|
+
has_rdoc: true
|
85
85
|
homepage: https://www.simplify.com/commerce
|
86
|
-
licenses:
|
86
|
+
licenses:
|
87
87
|
- BSD
|
88
88
|
post_install_message:
|
89
89
|
rdoc_options: []
|
90
|
-
|
90
|
+
|
91
|
+
require_paths:
|
91
92
|
- lib
|
92
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
requirements:
|
101
|
-
- -
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
|
93
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
segments:
|
98
|
+
- 0
|
99
|
+
version: "0"
|
100
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
segments:
|
105
|
+
- 0
|
106
|
+
version: "0"
|
104
107
|
requirements: []
|
108
|
+
|
105
109
|
rubyforge_project:
|
106
|
-
rubygems_version: 1.
|
110
|
+
rubygems_version: 1.3.6
|
107
111
|
signing_key:
|
108
112
|
specification_version: 3
|
109
113
|
summary: Simplify Commerce Ruby SDK
|
110
114
|
test_files: []
|
115
|
+
|