Exception: GraphitiSpecHelpers::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.



6
7
8
# File 'lib/graphiti_spec_helpers/errors.rb', line 6

def initialize(name)
  @name = name
end

Instance Method Details

#messageObject



10
11
12
# File 'lib/graphiti_spec_helpers/errors.rb', line 10

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