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