Sha256: 3ad9535207f6790a666067964ede2e5244570b622f9c30fd555c05f8b0f21628

Contents?: true

Size: 257 Bytes

Versions: 9

Compression:

Stored size: 257 Bytes

Contents

module MarketplaceKit
  module Errors
    class ApiError < StandardError
      attr_reader :parsed_response

      def initialize(parsed_response)
        @parsed_response = parsed_response
        super('Invalid API response!')
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
marketplace-kit-0.2.3 lib/marketplace_kit/errors/api_error.rb
marketplace-kit-0.2.2 lib/marketplace_kit/errors/api_error.rb
marketplace-kit-0.2.1 lib/marketplace_kit/errors/api_error.rb
marketplace-kit-0.2.0 lib/marketplace_kit/errors/api_error.rb
marketplace-kit-0.1.4 lib/marketplace_kit/errors/api_error.rb
marketplace-kit-0.1.3 lib/marketplace_kit/errors/api_error.rb
marketplace-kit-0.1.2 lib/marketplace_kit/errors/api_error.rb
marketplace-kit-0.1.1 lib/marketplace_kit/errors/api_error.rb
marketplace-kit-0.1.0 lib/marketplace_kit/errors/api_error.rb