Class: Seam::Clients::AcsSystems

Inherits:
BaseClient show all
Defined in:
lib/seam/clients/acs_systems.rb

Instance Attribute Summary

Attributes inherited from BaseClient

#client

Instance Method Summary collapse

Methods inherited from BaseClient

#initialize, #request_seam, #request_seam_object

Constructor Details

This class inherits a constructor from Seam::Clients::BaseClient

Instance Method Details

#get(acs_system_id:) ⇒ Object



6
7
8
9
10
11
12
13
14
# File 'lib/seam/clients/acs_systems.rb', line 6

def get(acs_system_id:)
  request_seam_object(
    :post,
    "/acs/systems/get",
    Seam::AcsSystem,
    "acs_system",
    body: {acs_system_id: acs_system_id}.compact
  )
end

#list(connected_account_id: nil) ⇒ Object



16
17
18
19
20
21
22
23
24
# File 'lib/seam/clients/acs_systems.rb', line 16

def list(connected_account_id: nil)
  request_seam_object(
    :post,
    "/acs/systems/list",
    Seam::AcsSystem,
    "acs_systems",
    body: {connected_account_id: }.compact
  )
end