Exception: Graphiti::SpecHelpers::Errors::LinksNotFound

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

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ LinksNotFound

Returns a new instance of LinksNotFound.



7
8
9
# File 'lib/graphiti/spec_helpers/errors.rb', line 7

def initialize(name)
  @name = name
end

Instance Method Details

#messageObject



11
12
13
# File 'lib/graphiti/spec_helpers/errors.rb', line 11

def message
  "Relationship with name '#{@name}' has no links!"
end