Exception: NbApiClient::Request::InvalidContentType
- Inherits:
-
StandardError
- Object
- StandardError
- NbApiClient::Request::InvalidContentType
- Defined in:
- lib/nb_api_client/request.rb
Instance Method Summary collapse
-
#initialize(nation:, body:, content_type:) ⇒ InvalidContentType
constructor
A new instance of InvalidContentType.
Constructor Details
#initialize(nation:, body:, content_type:) ⇒ InvalidContentType
Returns a new instance of InvalidContentType.
28 29 30 |
# File 'lib/nb_api_client/request.rb', line 28 def initialize(nation:, body:, content_type:) super("Invalid response content type (#{content_type}) for #{nation}: #{body}") end |