Parent

Methods

Class/Module Index [+]

Quicksearch

Github::Error::Validations

Public Class Methods

new(errors) click to toggle source
# File lib/github_api/error/validations.rb, line 6
def initialize(errors)
  super(
    generate_message(
      :problem => "Attempted to send request with nil arguments for #{errors.keys.join(', ')}.",
      :summary => 'Each request expects certain number of required arguments.',
      :resolution => 'Double check that the provided arguments are set to some value that is neither nil nor empty string.'
    )
  )
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.