lib/cfoundry/v2/app.rb in cfoundry-0.5.2 vs lib/cfoundry/v2/app.rb in cfoundry-0.5.3.rc1
- old
+ new
@@ -28,10 +28,11 @@
attribute :disk_quota, :integer, :default => 256
attribute :state, :string, :default => "STOPPED"
attribute :command, :string, :default => nil
attribute :console, :boolean, :default => false
attribute :buildpack, :string, :default => nil
+ attribute :debug, :string, :default => nil
to_many :service_bindings
to_many :routes
scoped_to_space
@@ -115,12 +116,10 @@
def env=(x)
self.environment_json = stringify(x.to_hash)
end
- def debug_mode # TODO v2
- nil
- end
+ alias :debug_mode :debug
def uris
return @cache[:uris] if @cache[:uris]
routes.collect do |r|