Unused methods
roback opened this issue · comments
Mattias Roback commented
Two methods (related to exception handling) in the Parser class aren't used. That also means that the function TwinglyException.from_api_response_message
is not used either.
Instead the errors are handled directly in the .parse
method.
In Ruby we do it like this: https://github.com/twingly/twingly-search-api-ruby/blob/72cec57ae11a1f865f9044d7bf1c7de38a2cb147/lib/twingly/search/parser.rb#L15-L18