Exception: Onsi::Params::RelationshipNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/onsi/params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, key) ⇒ RelationshipNotFound

Returns a new instance of RelationshipNotFound.



6
7
8
9
# File 'lib/onsi/params.rb', line 6

def initialize(message, key)
  super(message)
  @key = key
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



4
5
6
# File 'lib/onsi/params.rb', line 4

def key
  @key
end