class Ruconomic::Fault

Attributes

fault[R]

Public Class Methods

new(fault) click to toggle source
Calls superclass method
# File lib/ruconomic/fault.rb, line 5
def initialize(fault)
  super(fault[:code] || fault[:faultcode])
  @fault = fault
end

Public Instance Methods

to_s() click to toggle source
# File lib/ruconomic/fault.rb, line 10
def to_s
  "Ruconomic::Fault #{fault.to_s}"
end