Methods

Class/Module Index [+]

Quicksearch

Github::Error::UnknownMedia

Public Class Methods

new(file) click to toggle source
# File lib/github_api/error/unknown_media.rb, line 6
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

[Validate]

Generated with the Darkfish Rdoc Generator 2.