portmone 0.0.1 → 0.0.2

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: 22c67a332abd19218c0bbb9da2cbd51656e1f94e
4
- data.tar.gz: db22c1a1914b670f641369c4754259af5a8b297b
3
+ metadata.gz: 17489a39bc6610e54b1bf40f0c8f7421e7e06546
4
+ data.tar.gz: c5fd9a948a7765e11201201ef12d6831cdb8ad1a
5
5
  SHA512:
6
- metadata.gz: 91bb922cbcdb68f136707e5a125b8dd7c3428de9f580f022f3b20f9be1f841a5cb1a80fa69ee90a997328cfd93c65fc7332d2a57b0520e565db42bcecd532eeb
7
- data.tar.gz: 6e6952470a8fb6b6c861106224bd770143d30540f6c8627185006bbe81bacbfbd92aec7191147c5bb2ab52f3716995a9125ae0f8c3b26b9aef4646cfb7128678
6
+ metadata.gz: 8d986b9e26cda89374eb71673fd3e439e837ccf7d95f04e88a9bd9ccd6e5f630d29df09dfaffb1e8bed9ccebf3f1250701593aac65d112b917d8b8529c2dd509
7
+ data.tar.gz: 6742fea8607c72f9f512156689a8eb5265e5749f2e06fceaf45bca0b4968ca7817079a08207888631dce7d9e54f981d2a4ad8bdf84a5353d9ffeb0a185158369
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- portmone (0.0.1)
4
+ portmone (0.0.2)
5
5
  activesupport
6
6
  faraday (~> 0.9)
7
7
  money (~> 6.0)
@@ -0,0 +1,5 @@
1
+ class Portmone::Responses::RefundOrderStatus < Portmone::Responses::OrderStatus
2
+ def success?
3
+ order.present? && error_code == '0' && order['status'] == 'RETURN'
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module Portmone
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: portmone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Sviridov
@@ -193,6 +193,7 @@ files:
193
193
  - lib/portmone/responses/base_response.rb
194
194
  - lib/portmone/responses/generate_url.rb
195
195
  - lib/portmone/responses/order_status.rb
196
+ - lib/portmone/responses/refund_order_status.rb
196
197
  - lib/portmone/transaction.rb
197
198
  - lib/portmone/version.rb
198
199
  - portmone.gemspec