Method: Ufo::Scale#initialize
- Defined in:
- lib/ufo/scale.rb
#initialize(service, count, options = {}) ⇒ Scale
Returns a new instance of Scale.
6 7 8 9 10 11 |
# File 'lib/ufo/scale.rb', line 6 def initialize(service, count, ={}) @service = service @count = count @options = @cluster = @options[:cluster] || default_cluster end |