Exception: AqBanking::Errors::ParsingError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response, parser) ⇒ ParsingError

Returns a new instance of ParsingError.



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

def initialize(response, parser)
  @response = response
  @parser = parser
end

Instance Attribute Details

#parserObject (readonly)

Returns the value of attribute parser.



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

def parser
  @parser
end

#responseObject (readonly)

Returns the value of attribute response.



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

def response
  @response
end