lib/ratelimit/bucketbased.rb
def set(bucket)
			@queries['set'].execute(bucket.name, bucket.current, bucket.max, bucket.min, bucket.cost, bucket.refill_amount, bucket.refill_epoch, bucket.last_refill, bucket.total_used)
		end
def set(bucket)
			@queries['set'].execute(bucket.name, bucket.current, bucket.max, bucket.min, bucket.cost, bucket.refill_amount, bucket.refill_epoch, bucket.last_refill, bucket.total_used)
		end
def set ( bucket ) @queries [ 'set' ] . execute ( bucket . name , bucket . current , bucket . max , bucket . min , bucket . cost , bucket . refill_amount , bucket . refill_epoch , bucket . last_refill , bucket . total_used ) end
saves a bucket into the storage
 * *Args*    :
   - +bucket+ -> the Bucket to set.  The <tt>name</tt> field in the Bucket option will be used as a key.
 * *Returns* :
   - an empty result set
 * *Raises* :
   - +Mysql::Error+ -> any issue with the connection to the database or the SQL statements
saves a bucket into the storage * * Args * : - + bucket + - > the Bucket to set . The <tt > name< / tt > field in the Bucket option will be used as a key . * * Returns * : - an empty result set * * Raises * : - + Mysql :: Error + - > any issue with the connection to the database or the SQL statements