Sha256: 1cf8959fef9f51d181e857f72272dee8ca9468d16c435a98bb6204a6dcd92ad3

Contents?: true

Size: 605 Bytes

Versions: 2

Compression:

Stored size: 605 Bytes

Contents

# frozen_string_literal: true

module Seam
  module Clients
    class AcsSystems < BaseClient
      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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
seam-2.0.0a2 lib/seam/clients/acs_systems.rb
seam-2.0.0.prerelease.1 lib/seam/clients/acs_systems.rb