Class: Heroku::Scalr::Metric::Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/heroku/scalr/metric.rb

Direct Known Subclasses

Ping, Wait

Instance Method Summary collapse

Constructor Details

#initialize(app) ⇒ Abstract

Returns a new instance of Abstract.

Parameters:



18
19
20
# File 'lib/heroku/scalr/metric.rb', line 18

def initialize(app)
  @app = app
end

Instance Method Details

#byInteger

Returns number of dynos to adjust by.

Returns:

  • (Integer)

    number of dynos to adjust by



23
24
25
# File 'lib/heroku/scalr/metric.rb', line 23

def by
  0
end