epayco-sdk-ruby 1.0.4 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/epayco/operations.rb +0 -10
- data/lib/epayco/resources.rb +1 -1
- data/lib/keylang_apify.json +29 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 583e33f500757f2f606d53f77eb1fe42588900fe7632d2c58bdc7e5219b28dc4
|
4
|
+
data.tar.gz: 6ac2f2cd2e2cf5aaa63edaf47fb12c2decb57c667e57919a2f51ab7fe3083e40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbd1fd37a0d9ae5b33bfa6228be75b1ee5ed7f23b43f88101d3a90f0cb32c03ea4ebedb53256f2d47cea6cab264ee79207a18eaab7ef896fb12696bc296a04f5
|
7
|
+
data.tar.gz: e35e59ec3aa668a854937c36cc25e2f03f4fa208d3d96cc4f4d09711b85a614adc1545a1f793eaec8d6e22e81826355db86e6c90a762e4bc17c504b68a5268ff
|
data/lib/epayco/operations.rb
CHANGED
@@ -105,16 +105,6 @@ module Epayco
|
|
105
105
|
Epayco.request :post, url, extra, params, self.switch, cashdata, dt, apify = false
|
106
106
|
end
|
107
107
|
|
108
|
-
def getCustomer type, uid, extra=nil
|
109
|
-
if self.url == "customers"
|
110
|
-
url = "/payment/v1/customer/find?" + type + "=" + uid
|
111
|
-
puts url
|
112
|
-
cashdata = false
|
113
|
-
dt = true
|
114
|
-
end
|
115
|
-
Epayco.request :get, url, extra, {}, switch, cashdata, dt, apify = false
|
116
|
-
end
|
117
|
-
|
118
108
|
# Action retrieve all documents from user
|
119
109
|
def list params={}, extra=nil
|
120
110
|
cashdata=false
|
data/lib/epayco/resources.rb
CHANGED
@@ -24,7 +24,7 @@ module Epayco
|
|
24
24
|
end
|
25
25
|
|
26
26
|
class Customers < Resource
|
27
|
-
public_class_method :create, :get, :list, :update, :updatetoken, :delatetetoken, :addtoken
|
27
|
+
public_class_method :create, :get, :list, :update, :updatetoken, :delatetetoken, :addtoken
|
28
28
|
end
|
29
29
|
|
30
30
|
class Plan < Resource
|
@@ -0,0 +1,29 @@
|
|
1
|
+
{
|
2
|
+
"cash": "cash",
|
3
|
+
"end_date": "expirationDate",
|
4
|
+
"ref_payco": "refPayco",
|
5
|
+
"id_session_token": "idSessionToken",
|
6
|
+
"otp": "otp",
|
7
|
+
"invoice": "invoice",
|
8
|
+
"description": "description",
|
9
|
+
"value": "value",
|
10
|
+
"tax": "tax",
|
11
|
+
"ico": "ico",
|
12
|
+
"tax_base": "taxBase",
|
13
|
+
"currency": "currency",
|
14
|
+
"doc_type": "docType",
|
15
|
+
"doc_number": "document",
|
16
|
+
"name": "name",
|
17
|
+
"last_name": "lastName",
|
18
|
+
"email": "email",
|
19
|
+
"ind_country": "indCountry",
|
20
|
+
"country": "country",
|
21
|
+
"city": "city",
|
22
|
+
"phone": "phone",
|
23
|
+
"address": "address",
|
24
|
+
"ip": "ip",
|
25
|
+
"test": "testMode",
|
26
|
+
"url_response": "urlResponse",
|
27
|
+
"url_confirmation": "urlConfirmation",
|
28
|
+
"method_confirmation": "methodConfirmation"
|
29
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epayco-sdk-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Epayco development team
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2022-03-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rest-client
|
@@ -85,6 +85,7 @@ files:
|
|
85
85
|
- lib/epayco/operations.rb
|
86
86
|
- lib/epayco/resources.rb
|
87
87
|
- lib/keylang.json
|
88
|
+
- lib/keylang_apify.json
|
88
89
|
- tests/test_helper.rb
|
89
90
|
- tests/testing.rb
|
90
91
|
homepage: https://epayco.co/
|
@@ -106,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
107
|
- !ruby/object:Gem::Version
|
107
108
|
version: '0'
|
108
109
|
requirements: []
|
109
|
-
rubygems_version: 3.
|
110
|
+
rubygems_version: 3.0.3.1
|
110
111
|
signing_key:
|
111
112
|
specification_version: 4
|
112
113
|
summary: Ruby wrapper for Epayco API
|