lib/cfoundry/v2/app.rb in cfoundry-0.3.6 vs lib/cfoundry/v2/app.rb in cfoundry-0.3.7

- old
+ new

@@ -17,11 +17,11 @@ # retrieval, as the attributes are all lazily retrieved. Setting attributes # does not perform any requests; use #update! to commit your changes. class App < Model attribute :name attribute :production - to_one :app_space + to_one :space to_one :runtime to_one :framework attribute :environment_json, :default => {} attribute :memory, :default => 256 attribute :instances, :default => 1 @@ -33,12 +33,9 @@ alias :total_instances :instances alias :total_instances= :instances= alias :services :service_bindings alias :services= :service_bindings= - - alias :space :app_space - alias :space= :app_space= private :environment_json, :environment_json= def env @env ||= CFoundry::ChattyHash.new(