payg 0.0.1 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: faa42f5e1ef91d4a79ab9acdf6ea97f68a3c62dc544bacaf2c71f79e8a04be8c
4
- data.tar.gz: ae28c96666ba656d6e7bb50023a122e0df20212a41aad2a36f0e85798bcb285d
3
+ metadata.gz: 065a01d316cb129029b009d1e8442396d2e71e816d242c90a41c7ab409f8cc4d
4
+ data.tar.gz: 06aedd7e75cb006aa97d913770f2ce6922a7e662eae8ef1efe75343c19aa5553
5
5
  SHA512:
6
- metadata.gz: 0c500ecc89b213d78ab0522f009530cf9c8080baaae363db96f1f68fff02a9b21447e59f590b9d2e20105d01384105fb9895db073a044b3d06231b7741f3f657
7
- data.tar.gz: f290106b645671ef2ecc44b54c9fcdbe7c6e8e22a3bf2d2ca48a682504d1e8079880ac7550a2a9cac998f2b6e8bfa66ed4e4e486171b2de284dcf082fb1913fa
6
+ metadata.gz: 7489023f45bdc4290e844b7259be803cca65cd49e12b1d30f03217fea1d9d5c3477ed47ea4df07f382676d953107a28b0d8e9a56d4548b47768c81cdf91906f5
7
+ data.tar.gz: 42295269c6a5ecc223a933007429320c0005f4105a6c095996362d249b1d5ba535292139a9d27f78ba519a10f0b88755c1a72ebd308f1cfe79db74f5d1ba4871
data/README.md CHANGED
@@ -39,8 +39,7 @@ If you are using rails, the right place to do this might be `config/initializers
39
39
 
40
40
  ```rb
41
41
 
42
- payload = { Merchantkeyid: "8792", UniqueRequestId: "035bbf02a1f", RequestDateTime: "06232021", RedirectUrl: "https://payg.in", OrderAmount: "100", OrderAmountData: { AmountTypeDesc: "3", Amount: "2"}, CustomerData: { Mobil
43
- eNo: "8619083450", Email: "demo@gmail.com"} }
42
+ payload = { Merchantkeyid: "8792", UniqueRequestId: "035bbf02a1f", RequestDateTime: "06232021", RedirectUrl: "https://payg.in", OrderAmount: "100", OrderAmountData: { AmountTypeDesc: "3", Amount: "2"}, CustomerData: { MobileNo: "8619083450", Email: "demo@gmail.com"} }
44
43
 
45
44
  Payg::Order.create(payload.to_json)
46
45
  ```
@@ -1,6 +1,6 @@
1
1
  # Version and other constants are defined here
2
2
  module Payg
3
- BASE_URI = 'https://uatapi.payg.in/payment/api/'.freeze
4
- TEST_URL = 'https://uatapi.payg.in/payment/api/'.freeze
5
- VERSION = '0.0.1'.freeze
3
+ BASE_URI = 'https://paygapi.payg.in/payment/api/'.freeze
4
+ TEST_URL = 'https://paygapi.payg.in/payment/api/'.freeze
5
+ VERSION = '0.1.1'.freeze
6
6
  end
data/payg-ruby.gemspec CHANGED
@@ -20,7 +20,6 @@ Gem::Specification.new do |spec|
20
20
  spec.add_development_dependency 'coveralls', '~> 0.8'
21
21
  spec.add_development_dependency 'minitest', '~> 5.11'
22
22
  spec.add_development_dependency 'rake', '~> 12.0'
23
- spec.add_development_dependency 'pry'
24
23
 
25
24
  if RUBY_VERSION >= '2.1.0'
26
25
  # rubocop is only run in the latest ruby build
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-14 00:00:00.000000000 Z
11
+ date: 2023-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '12.0'
69
- - !ruby/object:Gem::Dependency
70
- name: pry
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
69
  - !ruby/object:Gem::Dependency
84
70
  name: rubocop
85
71
  requirement: !ruby/object:Gem::Requirement