Public instance methods
store
()
[show source]
# File lib/rudy/cli/aws/s3/store.rb, line 13 13: def store 14: s3 = Rudy::AWS::S3.new(@@global.accesskey, @@global.secretkey, @@global.region) 15: puts "Success: %s" % s3.store(@argv.path, @option.bucket) 16: 17: end
store_valid?
()
[show source]
# File lib/rudy/cli/aws/s3/store.rb, line 8 8: def store_valid? 9: raise "No path specified" unless @argv.path 10: raise "No bucket specified" unless @option.bucket 11: true 12: end