Exception: OpenCongressApi::InvalidRequestTypeError
- Inherits:
-
StandardError
- Object
- StandardError
- OpenCongressApi::InvalidRequestTypeError
- Defined in:
- lib/opencongress_api.rb
Overview
Errors
Instance Method Summary collapse
-
#initialize(type) ⇒ InvalidRequestTypeError
constructor
A new instance of InvalidRequestTypeError.
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 |