paytm 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -4
- data/lib/paytm/gratification.rb +2 -1
- data/lib/paytm/version.rb +1 -1
- data/lib/paytm.rb +1 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 878f342d335b6782bf413f3cd45444ca192b7448
|
4
|
+
data.tar.gz: 8abef751f85d6041b238acbc1807b34762d901aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ad44e9af87b3a2ecb27fc1a83e204e012e51e04405ef23337f8a8500b331aa91170f665d865e8d11514dd4c25a7704acb3853b5592f389778f0c827b242c25b
|
7
|
+
data.tar.gz: 5ee486e5bd0f3f2202ffe3fb9ac30b5a79d6f8860eea6737e2e36eefc774f346375400aa27dbb3a3d592ddfcf7003c42cd32cc66be75a7ed82e35ca4b2121f3a
|
data/README.md
CHANGED
@@ -52,10 +52,6 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
52
52
|
|
53
53
|
Bug reports and pull requests are welcome on GitHub at https://github.com/ronakjain90/paytm. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
54
54
|
|
55
|
-
##Commercial license
|
56
|
-
|
57
|
-
If you want to use this gem for a commercial application, commercial license is the appropriate license. With this option, your source code is kept proprietary. This will definitely helps you to save hours worth of effort.
|
58
|
-
|
59
55
|
## Open-source license
|
60
56
|
|
61
57
|
> Copyright (C) 2016 Ronak Jain (ronakjain90@gmail.com)
|
data/lib/paytm/gratification.rb
CHANGED
@@ -22,7 +22,8 @@ module Paytm
|
|
22
22
|
request_params.merge!(params)
|
23
23
|
platform.merge!(opts)
|
24
24
|
request_params.merge!(Paytm.guid)
|
25
|
-
send_request(:post, merchant_to_wallet_url, request_params, platform)
|
25
|
+
response = send_request(:post, merchant_to_wallet_url, request_params, platform)
|
26
|
+
response
|
26
27
|
end
|
27
28
|
|
28
29
|
def check_status(params = {}, opts = {})
|
data/lib/paytm/version.rb
CHANGED
data/lib/paytm.rb
CHANGED
@@ -79,10 +79,8 @@ module Paytm
|
|
79
79
|
:method => method, :open_timeout => open_timeout,
|
80
80
|
:payload => payload, :url => url, :timeout => read_timeout)
|
81
81
|
|
82
|
-
puts request_opts
|
83
82
|
response = execute_request(request_opts)
|
84
|
-
|
85
|
-
puts response
|
83
|
+
response
|
86
84
|
end
|
87
85
|
|
88
86
|
def self.execute_request(opts)
|