class SystemCustominfo

Attributes

id[R]
label[R]

Public Class Methods

new(system) click to toggle source
# File lib/satops/operator.rb, line 1050
def initialize(system)
  @id=system['id']
  @label=system['label']
  @description=system['description']
  @last_modified=system['last_modified']
  @system_count=system['system_count']
end

Public Instance Methods

create(sat) click to toggle source
# File lib/satops/operator.rb, line 1062
def create(sat)
  sat.systemCustominfo.createKey(@label, @description)
end
delete(sat) click to toggle source
# File lib/satops/operator.rb, line 1058
def delete(sat)
  sat.systemCustominfo.deleteKey(@label)
end
update(sat) click to toggle source
# File lib/satops/operator.rb, line 1066
def update(sat)
  sat.systemCustominfo.updateKey(@label, @description)
end