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.



132
133
134
135
# File 'lib/quickbooks-ruby.rb', line 132

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

Instance Attribute Details

#code ⇒ Object

Returns the value of attribute code.



131
132
133
# File 'lib/quickbooks-ruby.rb', line 131

def code
  @code
end

#detail ⇒ Object

Returns the value of attribute detail.



131
132
133
# File 'lib/quickbooks-ruby.rb', line 131

def detail
  @detail
end

#message ⇒ Object

Returns the value of attribute message.



131
132
133
# File 'lib/quickbooks-ruby.rb', line 131

def message
  @message
end

#type ⇒ Object

Returns the value of attribute type.



131
132
133
# File 'lib/quickbooks-ruby.rb', line 131

def type
  @type
end