Exception: Submarine::MissingAttributesError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/submarine/exceptions.rb

Overview

If no attributes are sent to Submarine.new, throw this.

Instance Method Summary collapse

Constructor Details

#initialize(message = 'No attributes provided') ⇒ MissingAttributesError

Returns a new instance of MissingAttributesError.



6
7
8
# File 'lib/submarine/exceptions.rb', line 6

def initialize(message = 'No attributes provided')
  super(message)
end