fastbound-ruby 1.1.10 → 1.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastbound-ruby/response.rb +1 -3
- data/lib/fastbound-ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b73655cd74799a5544706d1cee68d90f624013c6b1d6d14326ae99b68a1ae80
|
4
|
+
data.tar.gz: 5b45118be2b77d3583eb016322bd33f38f957f73ff510a17d1c2789d58023ff1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1107e03904ae397f730cbe151aa4c1d861b1621f8000f2ca820e0ad67ace99ead061746e157efb9465eef319a80b42413cc75cb1ecaac9fb2c66bd59de087844
|
7
|
+
data.tar.gz: f120fdb59dcdf8b5b3a16e618c37211653789c7de84233784667a92eed9fa7bf5a14d22ac33fab24d24113948970008f2f9d5f0af65b16fa54af09c5ca6ad2ea
|
@@ -11,9 +11,7 @@ module FastBound
|
|
11
11
|
raise FastBound::Error::NotAuthorized.new(@response.body)
|
12
12
|
when Net::HTTPNotFound
|
13
13
|
raise FastBound::Error::NotFound.new(@response.body)
|
14
|
-
when Net::HTTPNoContent
|
15
|
-
self.success = true
|
16
|
-
when Net::HTTPOK, Net::HTTPSuccess
|
14
|
+
when Net::HTTPOK, Net::HTTPSuccess, Net::HTTPNoContent, Net::HTTPCreated
|
17
15
|
self.success = true
|
18
16
|
_data = (JSON.parse(@response.body) if @response.body.present?)
|
19
17
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastbound-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeffrey Dill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|