Method: SimpleRecord::ActiveSdb::Base.create_domain

Defined in:
lib/simple_record/active_sdb.rb

.create_domain(dom = nil) ⇒ Object

Create domain at SDB. Raises no errors if the domain already exists.

class Client < Aws::ActiveSdb::Base
end
Client.create_domain  #=> {:request_id=>"6fc652a0-0000-41d5-91f4-3ed390a3d3b2", :box_usage=>"0.0055590278"}


243
244
245
246
247
# File 'lib/simple_record/active_sdb.rb', line 243

def create_domain(dom=nil)
    dom = domain if dom.nil?
    puts "Creating new SimpleDB Domain: " + dom
    connection.create_domain(dom)
end