Method: JSS::PatchExternalSource#host_name=
- Defined in:
- lib/jss/api_object/patch_source/patch_external_source.rb
#host_name=(newname) ⇒ Object Also known as: hostname=, host=
see PatchSource attr_reader :host_name
78 79 80 81 82 83 |
# File 'lib/jss/api_object/patch_source/patch_external_source.rb', line 78 def host_name=(newname) return if newname == host_name raise JSS::InvalidDataError, 'names must be String' unless name.is_a? String @host_name = name @need_to_update = true end |