lib/shelly/app.rb in shelly-0.2.7 vs lib/shelly/app.rb in shelly-0.2.8

- old
+ new

@@ -8,11 +8,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, :redeem_code, - :content, :organization + :content, :organization, :zone_name def initialize(code_name = nil, content = nil) self.code_name = code_name self.content = content end @@ -43,10 +43,11 @@ end def create attributes = {:code_name => code_name, :redeem_code => redeem_code, - :organization_name => organization} + :organization_name => organization, + :zone_name => zone_name} response = shelly.create_app(attributes) self.git_url = response["git_url"] self.domains = response["domains"] self.ruby_version = response["ruby_version"] self.environment = response["environment"]