Method: JSS::Policy#server_side_activation=

Defined in:
lib/jss/api_object/policy.rb

#server_side_activation=(activation) ⇒ void

This method returns an undefined value.

Set Server Side Activation

Parameters:

  • activation (Time)

    Activation date and time

Raises:



792
793
794
795
796
# File 'lib/jss/api_object/policy.rb', line 792

def server_side_activation=(activation)
  raise JSS::InvalidDataError, 'Activation must be a Time' unless activation.is_a? Time
  @server_side_limitations[:activation] = activation
  @need_to_update = true
end