Exception: Mashery::UnknownFormat

Inherits:
Exception
  • Object
show all
Defined in:
lib/mashery/exceptions.rb

Instance Method Summary collapse

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