lib/quickbooks/model.rb
# Returns a hash that represents all this object's attributes.
Returns a hash that represents all this object's attributes.
Returns a hash that represents all this object ' s attributes .
def attributes(include_read_only=false)
      attrs = {}
      (include_read_only ? self.class.read_only + self.class.read_write : self.class.read_write).each do |column|
        attrs[column.to_s] = instance_variable_get('@' + column.to_s)
      end
      attrs
    end
def attributes ( include_read_only = false ) attrs = { } ( include_read_only ? self . class . read_only + self . class . read_write : self . class . read_write ) . each do | column | attrs [ column . to_s ] = instance_variable_get ( '@' + column . to_s ) end attrs end
Returns a hash that represents all this object's attributes.
Returns a hash that represents all this object ' s attributes .
include_read_only
<not_specific>