Exception: Quickbooks::IntuitRequestException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/quickbooks-ruby.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ IntuitRequestException

Returns a new instance of IntuitRequestException.



136
137
138
139
# File 'lib/quickbooks-ruby.rb', line 136

def initialize(msg)
  self.message = msg
  super(msg)
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



135
136
137
# File 'lib/quickbooks-ruby.rb', line 135

def code
  @code
end

#detailObject

Returns the value of attribute detail.



135
136
137
# File 'lib/quickbooks-ruby.rb', line 135

def detail
  @detail
end

#messageObject

Returns the value of attribute message.



135
136
137
# File 'lib/quickbooks-ruby.rb', line 135

def message
  @message
end

#typeObject

Returns the value of attribute type.



135
136
137
# File 'lib/quickbooks-ruby.rb', line 135

def type
  @type
end