Method: JSS::PatchExternalSource#port=

Defined in:
lib/jss/api_object/patch_source/patch_external_source.rb

#port=(new_port) ⇒ Object

see PatchSource attr_reader :port



89
90
91
92
93
94
# File 'lib/jss/api_object/patch_source/patch_external_source.rb', line 89

def port=(new_port)
  return if new_port == port
  raise JSS::InvalidDataError, 'ports must be Integers' unless port.is_a? Integer
  @port = new_port
  @need_to_update = true
end