Module: RockRMS::Client::SystemCommunication

Included in:
RockRMS::Client
Defined in:
lib/rock_rms/resources/system_communication.rb

Instance Method Summary collapse

Instance Method Details

#list_system_communications(options = {}) ⇒ Object



4
5
6
7
# File 'lib/rock_rms/resources/system_communication.rb', line 4

def list_system_communications(options = {})
  res = get('SystemCommunications', options)
  Response::SystemCommunication.format(res)
end

#update_system_communcation(id, body:) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/rock_rms/resources/system_communication.rb', line 9

def update_system_communcation(id, body:)
  options = {
    'Body' => body
  }

  patch("SystemCommunications/#{id}", options)
end