Method: Toolhound::Base#update

Defined in:
lib/toolhound-ruby/base.rb

#update(options, query_options = {}) ⇒ Object



349
350
351
352
353
354
355
356
357
358
# File 'lib/toolhound-ruby/base.rb', line 349

def update(options, query_options = {})
  sql = build_update_sql(options, query_options)

  debug = query_options[:debug]

  if sql && debug != true
    update_query(sql, query_options)
  end

end