Exception: AccountInfoList::AmbiguousPathError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/aq_banking/node_extensions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ AmbiguousPathError

Returns a new instance of AmbiguousPathError.



5
6
7
# File 'lib/aq_banking/node_extensions.rb', line 5

def initialize path
  @path = path
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



3
4
5
# File 'lib/aq_banking/node_extensions.rb', line 3

def path
  @path
end

Instance Method Details

#inspectObject



13
14
15
# File 'lib/aq_banking/node_extensions.rb', line 13

def inspect
  "#<#{self.class.name}: #{message}>"
end

#messageObject



9
10
11
# File 'lib/aq_banking/node_extensions.rb', line 9

def message
  "ambiguous path at: #{@path}"
end