soapy_yandex 0.0.2 → 0.0.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: b9c9339508c74040ae90711d0614578fe4fda13c
4
- data.tar.gz: 2e3ef92fd70cf0582c2b393d28ecc79567d1ccb8
3
+ metadata.gz: a7509842633573c24af65fbe4fd332aec5485b39
4
+ data.tar.gz: f9f539a48f400cb7d0789d0965f7ebe047e58ef8
5
5
  SHA512:
6
- metadata.gz: 6d807691dda10b37884f627946b87b8c57ff1c7eda96d5098ca753bfb283d781d49062631f3fb7f9cb252fa5f5aea1ca711e8c99b8d451544fae2d9b35d76965
7
- data.tar.gz: c911d668a92e2ae23ec65e778cdda86e848e92eefc4bce579404eb18ee1c8685008a31e6117713483f583cc3a62a72a5564cc497b16d0c32ba4bd75fef04cb54
6
+ metadata.gz: 93664d016025816a7b2c21ed4433a3b5ebad1500355c186df50f7a91ae1bbde4f755b3fb685aa2cff2bbd6940b6ab7b4991e79900ffb6089583f0631086a9f75
7
+ data.tar.gz: 7e1a69cab3014c74bf48c19cb0ae02f7b9d9c1ba8b668285c1fbc2e68e2c68b1c815acb72a772a0033ae0a79b2d62168b8db74489927091caedf9797665fc81c
@@ -33,12 +33,8 @@ module SoapyYandex
33
33
  @error_code = error_code
34
34
  end
35
35
 
36
- def error_code_string
36
+ def message
37
37
  ERROR_MESSAGES.fetch(error_code, 'Unknown error')
38
38
  end
39
-
40
- def to_s
41
- "SoapyYandex Server Error: #{error_code_string}"
42
- end
43
39
  end
44
40
  end
@@ -1,3 +1,3 @@
1
1
  module SoapyYandex
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
data/spec/money_spec.rb CHANGED
@@ -60,7 +60,7 @@ RSpec.describe 'Yandex Money Requests', :vcr do
60
60
  currency: SoapyYandex::CURRENCY_DEMO_RUBLES,
61
61
  contract: 'Test deposit'
62
62
  )
63
- end.to raise_error SoapyYandex::Error, 'SoapyYandex Server Error: Invalid dstAccount'
63
+ end.to raise_error SoapyYandex::Error, 'Invalid dstAccount'
64
64
  end
65
65
  end
66
66
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soapy_yandex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ad2games GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-12 00:00:00.000000000 Z
11
+ date: 2015-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ox