def action(path, params)
      response = @adapter.get(path, params)
      unless response['result_code'] == 'done'
        raise ResultError, response['result_code']
      end

      self
    end
def action(path, params)
      response = @adapter.get(path, params)
      unless response['result_code'] == 'done'
        raise ResultError, response['result_code']
      end

      self
    end
Perform an action request against the Pinboard API

 @param [String] path
   the path to fetch from, relative to from the base Pinboard API URL

 @param [Hash] params
   query parameters to append to the URL

 @return [Hash] the response parsed from the JSON

 @raise [RateLimitError] if the response is rate-limited
 @raise [ResultError] if the result code isn't "done"

 @api private
 @see https://pinboard.in/api/#errors