Class: HerokuCLI::Application

Inherits:
Object
  • Object
show all
Defined in:
lib/heroku_cli/application.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Application

Returns a new instance of Application.



5
6
7
# File 'lib/heroku_cli/application.rb', line 5

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/heroku_cli/application.rb', line 3

def name
  @name
end

Instance Method Details

#addonsObject

tools and services for developing, extending, and operating your app



10
11
12
# File 'lib/heroku_cli/application.rb', line 10

def addons
  []
end

#featuresObject

disables an app feature



15
16
17
# File 'lib/heroku_cli/application.rb', line 15

def features
  []
end

#maintenanceObject

display the current maintenance status of app



20
21
22
# File 'lib/heroku_cli/application.rb', line 20

def maintenance
  @maintenance ||= Maintenance.new(self)
end

#pgObject

manage postgresql databases



25
26
27
# File 'lib/heroku_cli/application.rb', line 25

def pg
  @pg ||= PG.new(self)
end

#psObject



29
30
31
# File 'lib/heroku_cli/application.rb', line 29

def ps
  @ps ||= ProcessStatus.new(self)
end