Exception: Poke::API::Errors::InvalidProvider
- Inherits:
-
StandardError
- Object
- StandardError
- Poke::API::Errors::InvalidProvider
- Defined in:
- lib/poke-api/errors.rb
Instance Method Summary collapse
-
#initialize(provider) ⇒ InvalidProvider
constructor
A new instance of InvalidProvider.
Constructor Details
#initialize(provider) ⇒ InvalidProvider
Returns a new instance of InvalidProvider.
5 6 7 |
# File 'lib/poke-api/errors.rb', line 5 def initialize(provider) super("Invalid provider #{provider}.") end |