Raised when invalid options are passed to a request body
Instance Attribute Summary Attributes inherited from ClientError#problem, #resolution, #summary
Attributes inherited from GithubError#response_headers, #response_message
Instance Method Summary collapseA new instance of UnknownMedia.
Returns a new instance of UnknownMedia.
53 54 55 56 57 58 59 60 61
# File 'lib/github_api/error/client_error.rb', line 53 def initialize(file) super( generate_message( problem: "Unknown content type for: '#{file}' provided for this request.", summary: "Github gem infers the content type of the resource by calling the mime-types gem type inference.", resolution: "Please install mime-types gem to infer the resource content type." ) ) end
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4