wework 0.1.9 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wework.rb +1 -0
- data/lib/wework/request.rb +4 -0
- data/lib/wework/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7dffeebfa4fffccab3b0a28b5cc581a801ebf63e
|
4
|
+
data.tar.gz: d1d77e3344ceea9b83f98066931ff7ba649dae6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49b226e216980d916b24ff5905455d1cbdd18d1b55e9252620db7b49afa18fd90c4f3cb19a50c71edb739cc0e821cd75f6d600fecec2f7a100cce2541c87360f
|
7
|
+
data.tar.gz: 25ca0092cceaac5a379d2eac7a3681bfbf50a7fb19f9572abb8512b817b58ffc5553d9e24888ad6416f807bd831e57fc20a9a3a8b95280162debbac03731830e
|
data/lib/wework.rb
CHANGED
@@ -22,6 +22,7 @@ module Wework
|
|
22
22
|
# Exceptions
|
23
23
|
class RedisNotConfigException < RuntimeError; end
|
24
24
|
class AccessTokenExpiredError < RuntimeError; end
|
25
|
+
class ResultErrorException < RuntimeError; end
|
25
26
|
class ResponseError < StandardError
|
26
27
|
attr_reader :error_code
|
27
28
|
def initialize(errcode, errmsg='')
|
data/lib/wework/request.rb
CHANGED
data/lib/wework/version.rb
CHANGED