Class: JustimmoClient::Errors::UnsupportedAPIVersion
- Inherits:
-
ConfigurationError
- Object
- JustimmoClient::Errors::UnsupportedAPIVersion
- Defined in:
- lib/justimmo_client/errors.rb
Overview
Raised when an unsupported API version is set.
Instance Method Summary collapse
-
#initialize(version) ⇒ UnsupportedAPIVersion
constructor
A new instance of UnsupportedAPIVersion.
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 |