rootstrap/best_buy_ruby

View on GitHub
lib/best_buy/exceptions/api_key_not_found.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module BestBuy
  module Exceptions
    class ApiKeyNotFound < StandardError
      def message
        'No API key configured. Either configure it in config/initializers/best_buy.rb '\
          'or pass it as a parameter when creating the API instance.'
      end
    end
  end
end