class Nimbu::Error::Validations

Public Class Methods

new(errors) click to toggle source
Calls superclass method Nimbu::Error::ClientError::new
# File lib/nimbu-api/errors/validations.rb, line 7
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