lib/shelly/app.rb in shelly-0.4.37 vs lib/shelly/app.rb in shelly-0.4.38
- old
+ new
@@ -12,11 +12,11 @@
DATABASE_CHOICES = DATABASE_KINDS + %w(none)
SERVER_SIZES = %w(small large)
attr_accessor :code_name, :databases, :ruby_version, :environment,
:git_url, :domains, :web_server_ip, :size, :thin,
- :organization_name, :zone_name, :usage, :traffic
+ :organization_name, :zone, :usage, :traffic
def initialize(code_name = nil)
self.code_name = code_name
end
@@ -69,10 +69,10 @@
end
def create
attributes = {:code_name => code_name,
:organization_name => organization_name,
- :zone_name => zone_name}
+ :zone => zone}
response = shelly.create_app(attributes)
assign_attributes(response)
end
def create_cloudfile