mokapay 0.1.4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c53765840a20b648a7975e9ff0ce0059ee09a021
4
- data.tar.gz: dc6df7579cadd1ede9a852cd8cc20a94c91d8a19
3
+ metadata.gz: f739908d61bc2fa5045c4896632596ad935bab18
4
+ data.tar.gz: 24e112943f8280395f7922d0a965e948f01de49d
5
5
  SHA512:
6
- metadata.gz: f40a97e0e2cfe1e127143f9579b7bea662a4de0805c3f1940c0785addba93e4b1b6f6deb0a85c4eb86da15acc18fe0f8e4c968b093489bfa09883cb7c49325ca
7
- data.tar.gz: a4f62f1a36d5a5c533e4164c818969a3366267cb503c0c13838ce2ee7adb029baf7c0436b8edacb643f066cc836a68979c2da40e1986ce0386b6cb9571a782c5
6
+ metadata.gz: d1edb41a843ef6f3c6f3c2a8436dfe611134f0ba6f5155f77ce6563105b9b4b36fca65377cf928a7048f841d9cb8cbca04c08489d4fc0c8f2968a6497d8e2fac
7
+ data.tar.gz: 8bc59ee9c9067b56a09e87df7d75d5e6a24393ff89aea38b870aa27e605a22c9335872b95dcf813681b0c2346e13fa4d494b04387aa49ead5fb4c042abfde278
@@ -6,7 +6,7 @@ module Moka
6
6
  :software, :redirect_url, :redirect_type, :description,
7
7
  :buyer, :credit_card, :card_token,
8
8
 
9
- :virtual_post_order_id, :void_refund_reason, :refund_request_id,
9
+ :virtual_pos_order_id, :void_refund_reason, :refund_request_id,
10
10
 
11
11
  :response, :result_code
12
12
 
@@ -31,7 +31,7 @@ module Moka
31
31
  end
32
32
 
33
33
  def void
34
- response = RestClient.post Moka.endpoinst.void, void_hash
34
+ response = RestClient.post Moka.endpoints.void, void_hash
35
35
  self.response = JSON.parse(response.body)
36
36
  self.result_code = self.response['ResultCode']
37
37
  self.response
@@ -93,7 +93,7 @@ module Moka
93
93
  {
94
94
  "PaymentDealerAuthentication": Moka.configuration.config_hash,
95
95
  "PaymentDealerRequest": {
96
- "VirtualPosOrderId": virtual_post_order_id,
96
+ "VirtualPosOrderId": virtual_pos_order_id,
97
97
  "ClientIP": client_ip,
98
98
  "VoidRefundReason": void_refund_reason || 2
99
99
  }
@@ -105,7 +105,7 @@ module Moka
105
105
  {
106
106
  "PaymentDealerAuthentication": Moka.configuration.config_hash,
107
107
  "PaymentDealerRequest": {
108
- "VirtualPosOrderId": virtual_post_order_id,
108
+ "VirtualPosOrderId": virtual_pos_order_id,
109
109
  "OtherTrxCode": "",
110
110
  "Amount": amount
111
111
  }
data/lib/moka/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Moka
2
- VERSION = "0.1.4"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mokapay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hüseyin TUNÇ
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-21 00:00:00.000000000 Z
11
+ date: 2019-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler