Class: HerokuCLI::Application
- Inherits:
-
Object
- Object
- HerokuCLI::Application
- Defined in:
- lib/heroku_cli/application.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#addons ⇒ Object
tools and services for developing, extending, and operating your app.
-
#features ⇒ Object
disables an app feature.
-
#initialize(name) ⇒ Application
constructor
A new instance of Application.
-
#maintenance ⇒ Object
display the current maintenance status of app.
-
#pg ⇒ Object
manage postgresql databases.
- #ps ⇒ Object
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
#name ⇒ Object (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
#addons ⇒ Object
tools and services for developing, extending, and operating your app
10 11 12 |
# File 'lib/heroku_cli/application.rb', line 10 def addons [] end |
#features ⇒ Object
disables an app feature
15 16 17 |
# File 'lib/heroku_cli/application.rb', line 15 def features [] end |
#maintenance ⇒ Object
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 |
#pg ⇒ Object
manage postgresql databases
25 26 27 |
# File 'lib/heroku_cli/application.rb', line 25 def pg @pg ||= PG.new(self) end |
#ps ⇒ Object
29 30 31 |
# File 'lib/heroku_cli/application.rb', line 29 def ps @ps ||= ProcessStatus.new(self) end |