Method: Assembla::Error::Validations#initialize
- Defined in:
- lib/assembla_api/error/validations.rb
#initialize(errors) ⇒ Validations
Returns a new instance of Validations.
7 8 9 10 11 12 13 14 15 |
# File 'lib/assembla_api/error/validations.rb', line 7 def initialize(errors) super( ( :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 |