Class: JustimmoClient::Errors::UnsupportedAPIVersion

Inherits:
ConfigurationError
  • Object
show all
Defined in:
lib/justimmo_client/errors.rb

Overview

Raised when an unsupported API version is set.

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ UnsupportedAPIVersion

Returns a new instance of UnsupportedAPIVersion.



43
44
45
# File 'lib/justimmo_client/errors.rb', line 43

def initialize(version)
  super "API Version #{version} not supported"
end