Skip to content

Commit

Permalink
error message fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dreinavarro committed Apr 15, 2015
1 parent 6f8fdec commit 40e57a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions chikka.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|
s.name = 'chikka'
s.version = '0.1.8'
s.date = '2015-03-31'
s.version = '0.1.9'
s.date = '2015-04-15'
s.summary = 'A ruby interface to the Chikka SMS API'
s.authors = ["Andrei Navarro"]
s.email = '[email protected]'
Expand Down
2 changes: 0 additions & 2 deletions lib/chikka.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ def parse(http_response, message_id)
case response_obj.status
when 200
response_obj
when 400
raise IncompleteParametersError.new(message="#{response_obj.message} HTTP_RESP: #{response_obj.description}")
when 401
raise AuthenticationError.new(message="#{response_obj.message} HTTP_RESP: #{response_obj.description}")
else
Expand Down

0 comments on commit 40e57a1

Please sign in to comment.