# File lib/rhc/rest/mock.rb, line 759 def initialize(client, name, type, app=nil, properties=[{'type' => 'cart_data', 'name' => 'connection_url', 'value' => "http://fake.url" }]) super({}, client) @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' @additional_gear_storage = 5 @usage_rate = 0.0 end