Exception: Masheri::UnknownFormat
- Inherits:
-
Exception
- Object
- Exception
- Masheri::UnknownFormat
- Defined in:
- lib/masheri/exceptions.rb
Instance Method Summary collapse
-
#initialize(format) ⇒ UnknownFormat
constructor
A new instance of UnknownFormat.
Constructor Details
#initialize(format) ⇒ UnknownFormat
42 43 44 |
# File 'lib/masheri/exceptions.rb', line 42 def initialize(format) super "Unknown format #{format.inspect} for REST API call. Standard formats are CSV and JSON." end |