Sha256: 647d0d0c926bcae5023f2243d4bb0fde0b002631f78bd6855da5fac4b1e88933

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

class ProcessModel < IisObject

end

class PeriodicRestart < IisObject
	children :schedule, :schedule, IisObject
end

class Recycling < IisObject
	child :periodic_restart, :periodicRestart, PeriodicRestart
end 

class ApplicationPool < IisObject
	
	prop :auto_start,        :autoStart,              Proc.new { |a| a == true ? "true" : "false" },            Proc.new {|value| value == "true" }
	prop :runtime_version,   :managedRuntimeVersion,  Proc.new { |a| a },                                       Proc.new {|value| value }
	prop :classic_pipeline,  :managedPipelineMode,    Proc.new { |a| a == true ? 1 : 0 },                       Proc.new {|value| value.to_i == 1 }
	prop :enable_32bit,      :enable32BitAppOnWin64,  Proc.new { |a| a },                                       Proc.new {|value| value }
	prop :always_running,    :startMode,              Proc.new { |a| a == true ? "AlwaysRunning" : "OnDemand" },Proc.new {|value| value.to_i == 1 }

    child :process_model, :processModel, ProcessModel
    child :recycling, :recycling, Recycling 

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inetmgr-0.2.0-mswin32 lib/inetmgr/iis_object/application_pool.rb