caseblocks_api 0.2.17 → 0.2.18
Sign up to get free protection for your applications and to get access to all the features.
- data/caseblocks_api.gemspec +1 -1
- data/lib/caseblocks_api.rb +2 -0
- metadata +1 -1
data/caseblocks_api.gemspec
CHANGED
data/lib/caseblocks_api.rb
CHANGED
@@ -44,6 +44,8 @@ module CaseblocksAPI
|
|
44
44
|
if response.code != 201
|
45
45
|
response_hash = {:body => response.body, :code => response.code, :message => response.message, :headers => response.headers.inspect}
|
46
46
|
raise CaseblocksAPI::CaseCreationError.new("Unable to create case - received response code #{response.code}", response_hash)
|
47
|
+
else
|
48
|
+
return response["message"]
|
47
49
|
end
|
48
50
|
end
|
49
51
|
|