Sha256: ca2e96b452195f28e33a8ecb4b92c90a49933565b6419211743fc47637315608
Contents?: true
Size: 454 Bytes
Versions: 36
Compression:
Stored size: 454 Bytes
Contents
module Rudy; module CLI; module AWS; module SDB; class Select < Rudy::CLI::CommandBase def query_valid? raise "No select query supplied" if @argv.empty? true end def query @sdb = Rudy::AWS::SDB.new(@@global.accesskey, @@global.secretkey, @@global.region) results = @sdb.select @argv.query return if results.nil? results.each do |r| p r end end end end; end end; end
Version data entries
36 entries across 36 versions & 2 rubygems