Exception: NbApiClient::Request::InvalidContentType

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

Instance Method Summary collapse

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