lib/cfoundry/v2/app.rb in cfoundry-0.3.37 vs lib/cfoundry/v2/app.rb in cfoundry-0.3.38
- old
+ new
@@ -27,10 +27,11 @@
attribute :instances, :integer, :default => 1
attribute :file_descriptors, :integer, :default => 256
attribute :disk_quota, :integer, :default => 256
attribute :state, :integer, :default => "STOPPED"
attribute :command, :string, :default => nil
+ attribute :console, :boolean, :default => false
to_many :service_bindings
to_many :routes
alias :total_instances :instances
alias :total_instances= :instances=
@@ -64,13 +65,9 @@
end
alias :env= :environment_json=
def debug_mode # TODO v2
- nil
- end
-
- def console # TODO v2
nil
end
def uris
routes.collect do |r|