Sha256: 7068a8e681c1b48bd651a9e2cddc4f50a274720caec3c977c799da0f182c86b4

Contents?: true

Size: 205 Bytes

Versions: 1

Compression:

Stored size: 205 Bytes

Contents

module Lol
  class InvalidAPIResponse < StandardError
    attr_reader :raw

    def initialize url, response
      super "#{response["status"]["message"]} calling #{url}"
      @raw = raw
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-lol-0.9.17 lib/lol/invalid_api_response.rb