# File lib/rhc/rest/mock.rb, line 348 def initialize(name, type, app=nil, properties=[{'type' => 'cart_data', 'name' => 'connection_url', 'value' => "http://fake.url" }]) super({}) @name = name @type = type @app = app @properties = properties.each(&:stringify_keys!) @status_messages = [{"message" => "started", "gear_id" => "123"}] @scales_from = 1 @scales_to = 1 @current_scale = 1 @gear_profile = 'small' end