mellat 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: 710b4e7d2b97d927f9f965eab51efab0eec7b346
4
- data.tar.gz: 19647065c0f722f228480c99f9ce8749a00ce65a
3
+ metadata.gz: db46ddf80381c42b0c823e9719d8032c68c066d7
4
+ data.tar.gz: a6d2fb8703d4de9067be90ff6b5034b1a74a25cd
5
5
  SHA512:
6
- metadata.gz: c730089a1fa485576ee4dadb187870a0f42a083fb81f8f14da016fe51eeeac27ca6ced9668fcf98fb25c4d7c827fe8902277135c12c5ab15fe6c9ff76555eb20
7
- data.tar.gz: ea8e7457bd60fdb35a3fef1a083b738c1a9f819f079f64e2c5a9ccd7ba5693666d7b62a08abcd07a65bdd5ef30cfb8280cdb0d342e1767373a6fd70b52defc26
6
+ metadata.gz: 45a41aeb6116d52bd0e115368f82b09897e624095b5686f21fc6e6fb5c146578dfc48eb2ed52335cdf930691a8a605533c417110c58e61b24b489cc95ca495af
7
+ data.tar.gz: 5c0333580f31bcfd1bca073709122d83be16b8997f726253b2d67e9a6fbc9f13b647e16061b950ec296c557b47ac8fe4a4bbeb2dce8075852b78a4fcbefc2336
@@ -23,16 +23,16 @@ module Mellat
23
23
 
24
24
  def call
25
25
  response = @wsdl.call :bp_pay_request, message: {
26
- 'terminalId' => @terminalId,
27
- 'userName' => @userName,
28
- 'userPassword' => @userPassword,
26
+ 'terminal_id' => @terminalId,
27
+ 'user_name' => @userName,
28
+ 'user_password' => @userPassword,
29
29
  'orderId' => @orderId,
30
30
  'amount' => @amount,
31
- 'localDate' => @localDate,
32
- 'localTime' => @localTime,
33
- 'additionalData' => @message,
34
- 'payerId' => @payerId,
35
- 'callBackUrl' => @callBackUrl
31
+ # 'localDate' => @localDate,
32
+ # 'localTime' => @localTime,
33
+ # 'additionalData' => @message,
34
+ 'payer_id' => @payerId,
35
+ 'call_back_url' => @callBackUrl
36
36
  }
37
37
  @response.validate(response.body)
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module Mellat
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mellat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - mohammad mahmoudi