paykassa 0.1.17 → 0.1.20

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
  SHA256:
3
- metadata.gz: 8e3593a8efb9f87d15ae638745fa20b92222155605b70b51114fbaf77afe28d2
4
- data.tar.gz: 3b0113e6185dbd9fa1e62109fd6e9e4c7adea32546cefcdbd61b9bf27ec001f4
3
+ metadata.gz: cc289024a105bba1fbf962902eaef1c009639112521717c706fc4f2dfb0c4f05
4
+ data.tar.gz: cadef35697b660e15cc8f4a87a0205b42aae75c6673030b6e7d9cf790962df67
5
5
  SHA512:
6
- metadata.gz: d0012c0e1e99aea0ed3473c76f6fd2825456d124f22d9fed61cc3946110c4fb70e206f32bb47ffa687fbe7db94c41c7cd50edeed79c62f352bb351f71a1e364d
7
- data.tar.gz: f48c8bfed4f650ac94a26bdf0a03304b03df16fcb18c1f81f8a4580ee93dddf45c3e34e63c2a7803f48eeae93a5e977382ce0f552ebee5f3a248b1f8073c9d53
6
+ metadata.gz: f37b6032da1a743e004b659c6ac7e9e77f314e0ff1e6082e66c0630113192f89beffb3a054e3bf906e78f9a302c5df81cb2854b4ad1df77a8af006e1905cc7b3
7
+ data.tar.gz: 80770b980ce9100337e6569febede4954f023d1d62fd2e91810d8c455fd495474302b12f55fde170abf2769f4f425989266c41a219c550ce6cdcc5c2b79e6f29
@@ -37,26 +37,30 @@ class PaykassaOrder
37
37
  # Request for create order
38
38
  def create_order(amount: , currency:, order_id:, paid_commision: , comment:, system:)
39
39
  make_request(
40
- func: :sci_create_order,
41
- amount: amount,
42
- currency: currency,
43
- order_id: order_id,
44
- phone: "false",
45
- paid_commission: paid_commision,
46
- comment: comment,
47
- system: SYSTEM_IDS[system]
40
+ {
41
+ func: :sci_create_order,
42
+ amount: amount,
43
+ currency: currency,
44
+ order_id: order_id,
45
+ phone: "false",
46
+ paid_commission: paid_commision,
47
+ comment: comment,
48
+ system: SYSTEM_IDS[system]
49
+ }
48
50
  )
49
51
  end
50
- def get_data(amount: , currency:, order_id:, paid_commision: , comment:, system:)
52
+ def get_data(amount: , currency:, order_id:, paid_commission: , comment:, system:)
51
53
  make_request(
52
- func: :sci_create_order_get_data,
53
- amount: amount,
54
- currency: currency,
55
- order_id: order_id,
56
- phone: "false",
57
- paid_commission: paid_commision,
58
- comment: comment,
59
- system: SYSTEM_IDS[system]
54
+ {
55
+ func: :sci_create_order_get_data,
56
+ amount: amount,
57
+ currency: currency,
58
+ order_id: order_id,
59
+ phone: "false",
60
+ paid_commission: paid_commission,
61
+ comment: comment,
62
+ system: SYSTEM_IDS[system]
63
+ }
60
64
  )
61
65
  end
62
66
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Paykassa
4
- VERSION = "0.1.17"
4
+ VERSION = "0.1.20"
5
5
  end
data/lib/paykassa.rb CHANGED
@@ -42,12 +42,11 @@ module Paykassa
42
42
  def rate(c_in, c_out)
43
43
  @paykassa_pay.currency_rate(c_in, c_out)
44
44
  end
45
- def get_order_address(amount: , currency:, order_id:, paid_commision: , comment: "from paykassa gem", system:)
45
+ def get_order_address(amount: , currency:, order_id:, paid_commission: , comment: "from paykassa gem", system:)
46
46
  order = @paykassa_order.get_data( amount: amount,
47
47
  currency: currency,
48
48
  order_id: order_id,
49
- phone: "false",
50
- paid_commission: paid_commision,
49
+ paid_commission: paid_commission,
51
50
  comment: comment,
52
51
  system: system
53
52
  )
@@ -59,7 +58,6 @@ module Paykassa
59
58
  amount: amount,
60
59
  currency: currency,
61
60
  order_id: order_id,
62
- phone: "false",
63
61
  paid_commission: paid_commision,
64
62
  comment: comment,
65
63
  system: system
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paykassa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - nottewae