lib/loopiator/client.rb in loopiator-0.3.6 vs lib/loopiator/client.rb in loopiator-0.3.7

- old
+ new

@@ -33,15 +33,16 @@ def parse_status_response(response) response = response.downcase.to_sym case response - when :ok then return response - when :domain_occupied then return response - when :auth_error then raise Loopiator::AuthError - when :rate_limited then raise Loopiator::RateLimitError - when :bad_indata then raise Loopiator::InvalidParameterError - when :unknown_error then raise Loopiator::UnknownError + when :ok then return response + when :domain_occupied then return response + when :auth_error then raise Loopiator::AuthError + when :rate_limited then raise Loopiator::RateLimitError + when :insufficient_funds then raise Loopiator::InsufficientFundsError + when :bad_indata then raise Loopiator::InvalidParameterError + when :unknown_error then raise Loopiator::UnknownError else return response end end \ No newline at end of file