Exception: OpenCongressApi::InvalidRequestTypeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/opencongress_api.rb

Overview

Errors

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ InvalidRequestTypeError

Returns a new instance of InvalidRequestTypeError.



14
15
16
# File 'lib/opencongress_api.rb', line 14

def initialize(type)
    super "Fetch type '#{type}' is not valid."
end