class Github::Error::Validations
Public Class Methods
new(errors)
click to toggle source
Calls superclass method
Github::Error::ClientError.new
# 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