fio_api 0.0.10 → 0.0.11

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
  SHA256:
3
- metadata.gz: cc55159a121e534fbc4cd4026c817f2659b251d3100ae163fc26ce30e8b9b504
4
- data.tar.gz: 931218cb83b33ffe3af6f6385065c075915d759b37df9fef7d44c6d6d9e38e85
3
+ metadata.gz: d1cdda7932904d6344a35a53d31dda1f67b3bfd8492201493f71b87954057832
4
+ data.tar.gz: fa38b54a98151fca085c139ac3bd98c90290bc3b629eb0c2acb138cfccb8dbe6
5
5
  SHA512:
6
- metadata.gz: 242daa426d0ca9749b3f7d816149a7087e2064d462bc0d2f7da485f93bc7b4092718704b78cbb019c1d6ccb19c33c58fbc7a1165c0bad8c6118ddcc3c96a8539
7
- data.tar.gz: 5cfcbc4d3d3a20b22700068431cbcc64255b85f46118d39478f428b9940227a234fdde6ed14f50c08fe848ac497e49c0d42bd559aac27c2887a09ff557e8c5f4
6
+ metadata.gz: 761eb97d08897fe3ffd4fe00be3bb01e36d879657108988d8c068e5a7560c98cbe04e4f9ff04912fff70cab78c172ddbc68d212083a74bc058bbe6d3e0da7ba5
7
+ data.tar.gz: ebe721d04841a4494bee40e31eaa6bb3bfe6b76cfdaad5c872c156c932fd3273a4c2ffc0dc75c6e8ce31054f16dc21cafa7b53825afeef0d1f87b82411c87ad5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.9
1
+ 0.0.11
data/fio_api.gemspec CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "fio_api".freeze
9
- s.version = "0.0.10"
9
+ s.version = "0.0.11"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
@@ -33,6 +33,7 @@ Gem::Specification.new do |s|
33
33
  "lib/base/deserializers/import_response_deserializer.rb",
34
34
  "lib/base/deserializers/list_response_deserializer.rb",
35
35
  "lib/base/list.rb",
36
+ "lib/base/errors/invalid_json_response.rb",
36
37
  "lib/base/payment.rb",
37
38
  "lib/base/payments/domestic.rb",
38
39
  "lib/base/payments/status.rb",
@@ -0,0 +1,7 @@
1
+ module FioAPI
2
+ class InvalidJsonResponse < StandardError
3
+ def initialize(message = "Invalid JSON response")
4
+ super(message)
5
+ end
6
+ end
7
+ end
data/lib/fio_api.rb CHANGED
@@ -18,7 +18,7 @@ module FioAPI
18
18
  # == Returns:
19
19
  # A string with current version of gem
20
20
  #
21
- VERSION = '0.0.10'.freeze
21
+ VERSION = '0.0.11'.freeze
22
22
 
23
23
  # Set API token for requests
24
24
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fio_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robin Bortlik
@@ -143,6 +143,7 @@ files:
143
143
  - lib/base/account.rb
144
144
  - lib/base/deserializers/import_response_deserializer.rb
145
145
  - lib/base/deserializers/list_response_deserializer.rb
146
+ - lib/base/errors/invalid_json_response.rb
146
147
  - lib/base/list.rb
147
148
  - lib/base/payment.rb
148
149
  - lib/base/payments/domestic.rb