class RHC::Rest::Mock::MockRestGearGroup

Public Class Methods

new(client=nil) click to toggle source
Calls superclass method RHC::Rest::Base.new
# File lib/rhc/rest/mock.rb, line 609
def initialize(client=nil)
  super({}, client)
  @cartridges = [{'name' => 'fake_geargroup_cart-0.1'}]
  @gears = [{'state' => 'started', 'id' => 'fakegearid', 'ssh_url' => 'ssh://fakegearid@fakesshurl.com'}]
  @gear_profile = 'small'
end