paymaster 0.1.0 → 0.1.1

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: 12ed98282b471abc10fe2142286611561868ca28
4
- data.tar.gz: 89e0ce891df4494be6238ed47c79d08dad739eea
3
+ metadata.gz: e052e78c88e1071bf76dd48e8e82dc26840c877c
4
+ data.tar.gz: 33d4b124906869f30273812f5ff8c9db7597e7ca
5
5
  SHA512:
6
- metadata.gz: 5426f4dfba09682f3ee124fc7707f70555a29bcb8fa8840b7c643c5a6998b95a1a19ee177c2a1b731e77acb8df27546d2263938daedffbc731deb920af27b294
7
- data.tar.gz: 1c9eb53d93be2a97f02acdf3b6a1635d515045c99c65fab28b8e100b0d3ce67421b9bf27f49f39a1894ccbb5c82c4628515f795e8159e648ca38fa3214a81368
6
+ metadata.gz: 84efd2c31fb470e93560b10bf37e355e9d9efec88fa12f22abb8b74b8cf5201921d914069968a78f30a9df0dea77a743d222873ad653507f6c6cddfc10d4d3bf
7
+ data.tar.gz: 2c9e3b6e9d0d60085cfc68f52990e34b5392220a9814109f3b5a3616057f758f31a3f92bb87d836348bb07cfaaa45892a021134dec8fe52d58cf1da348348e96
data/README.md CHANGED
@@ -74,7 +74,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
74
74
 
75
75
  ## Contributing
76
76
 
77
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/paymaster. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
77
+ Bug reports and pull requests are welcome on GitHub at https://github.com/kirillplatonov/paymaster. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
78
78
 
79
79
 
80
80
  ## License
@@ -8,6 +8,10 @@ module Paymaster
8
8
  end
9
9
  end
10
10
 
11
+ def error?
12
+ false
13
+ end
14
+
11
15
  class << self
12
16
  def parse(body)
13
17
  response = Hash.from_xml(body)["Response"]
@@ -9,5 +9,9 @@ module Paymaster
9
9
  self.error_code = response["Retval"].to_i
10
10
  self.error_message = response["Retdesc"]
11
11
  end
12
+
13
+ def error?
14
+ true
15
+ end
12
16
  end
13
17
  end
@@ -1,3 +1,3 @@
1
1
  module Paymaster
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paymaster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill Platonov