api_client 0.4.2 → 0.4.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.
- data/lib/api_client/errors.rb +11 -10
- data/lib/api_client/version.rb +1 -1
- metadata +2 -2
data/lib/api_client/errors.rb
CHANGED
@@ -1,16 +1,17 @@
|
|
1
1
|
module ApiClient
|
2
2
|
|
3
3
|
module Errors
|
4
|
-
class
|
5
|
-
class
|
6
|
-
class
|
7
|
-
class
|
8
|
-
class
|
9
|
-
class
|
10
|
-
class
|
11
|
-
class
|
12
|
-
class
|
13
|
-
class
|
4
|
+
class ApiClientError < StandardError; end
|
5
|
+
class ConnectionFailed < ApiClientError; end
|
6
|
+
class Config < ApiClientError; end
|
7
|
+
class Unauthorized < ApiClientError; end
|
8
|
+
class Forbidden < ApiClientError; end
|
9
|
+
class NotFound < ApiClientError; end
|
10
|
+
class Redirect < ApiClientError; end
|
11
|
+
class BadRequest < ApiClientError; end
|
12
|
+
class Unsupported < ApiClientError; end
|
13
|
+
class ServerError < ApiClientError; end
|
14
|
+
class UnprocessableEntity < ApiClientError; end
|
14
15
|
end
|
15
16
|
|
16
17
|
end
|
data/lib/api_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-07-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: yajl-ruby
|