Sha256: ba524d46d430c2362ea98915d243a6fae5b59b96f7e4d0e8f09d24f0f936f5ad
Contents?: true
Size: 452 Bytes
Versions: 79
Compression:
Stored size: 452 Bytes
Contents
module Rudy; module CLI; module AWS; module S3; class Store < Rudy::CLI::CommandBase def store_valid? raise "No path specified" unless @argv.path raise "No bucket specified" unless @option.bucket true end def store s3 = Rudy::AWS::S3.new(@@global.accesskey, @@global.secretkey, @@global.region) puts "Success: %s" % s3.store(@argv.path, @option.bucket) end end end;end end;end
Version data entries
79 entries across 79 versions & 3 rubygems