Exception: Graphiti::SpecHelpers::Errors::SideloadNotFound

Inherits:
Base
  • Object
show all
Defined in:
lib/graphiti/spec_helpers/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ SideloadNotFound

Returns a new instance of SideloadNotFound.



27
28
29
# File 'lib/graphiti/spec_helpers/errors.rb', line 27

def initialize(name)
  @name = name
end

Instance Method Details

#messageObject



31
32
33
# File 'lib/graphiti/spec_helpers/errors.rb', line 31

def message
  "Relationship with name '#{@name}' not found!"
end