Method: Xero::Api::Error#initialize
- Defined in:
- lib/xero/api/error.rb
#initialize(errors = nil) ⇒ Error
Returns a new instance of Error.
5 6 7 8 9 10 |
# File 'lib/xero/api/error.rb', line 5 def initialize(errors = nil) if errors @fault = errors super(errors) end end |