Methods
public instance
Public instance methods
domains
()
[show source]
# File lib/rudy/cli/aws/sdb/domains.rb, line 8 8: def domains 9: @sdb = Rudy::AWS::SDB.new(@@global.accesskey, @@global.secretkey, @@global.region) 10: domains = @sdb.list_domains 11: puts domains 12: puts "No domains" if domains.nil? || domains.empty? 13: end
domains_create
()
[show source]
# File lib/rudy/cli/aws/sdb/domains.rb, line 19 19: def domains_create 20: @sdb = Rudy::AWS::SDB.new(@@global.accesskey, @@global.secretkey, @@global.region) 21: @sdb.create_domain @argv.name 22: execute_check(:low) 23: domains 24: end
domains_create_valid?
()
[show source]
# File lib/rudy/cli/aws/sdb/domains.rb, line 15 15: def domains_create_valid? 16: raise "No name specified" unless @argv.name 17: true 18: end
domains_destroy
()
[show source]
# File lib/rudy/cli/aws/sdb/domains.rb, line 30 30: def domains_destroy 31: @sdb = Rudy::AWS::SDB.new(@@global.accesskey, @@global.secretkey, @@global.region) 32: execute_check(:medium) 33: @sdb.destroy_domain @argv.name 34: domains 35: end
domains_destroy_valid?
()
[show source]
# File lib/rudy/cli/aws/sdb/domains.rb, line 26 26: def domains_destroy_valid? 27: raise "No name specified" unless @argv.name 28: true 29: end