Class: Heroku::Scalr::Metric::Abstract
- Inherits:
-
Object
- Object
- Heroku::Scalr::Metric::Abstract
- Defined in:
- lib/heroku/scalr/metric.rb
Instance Method Summary collapse
-
#by ⇒ Integer
Number of dynos to adjust by.
-
#initialize(app) ⇒ Abstract
constructor
A new instance of Abstract.
Constructor Details
#initialize(app) ⇒ Abstract
Returns a new instance of Abstract.
18 19 20 |
# File 'lib/heroku/scalr/metric.rb', line 18 def initialize(app) @app = app end |
Instance Method Details
#by ⇒ Integer
Returns number of dynos to adjust by.
23 24 25 |
# File 'lib/heroku/scalr/metric.rb', line 23 def by 0 end |