class MotherBrain::Gear::MySQL

Public Instance Methods

action(sql, options) click to toggle source

@param [String] sql

the sql to run

@option options [Hash] :data_bag

specify the data bag, item, and location inside the item to find the MySQL credentials

@return [MB::Gear::MySQL::Action]

# File lib/mb/gears/mysql.rb, line 13
def action(sql, options)
  MySQL::Action.new(sql, options)
end