Sha256: d4842d0d0f3d39b0a5536625a848fdc9ac68c7a0e8a261dbd98ae420120d49c3
Contents?: true
Size: 777 Bytes
Versions: 16
Compression:
Stored size: 777 Bytes
Contents
# frozen_string_literal: true module Seam module Clients class ConnectedAccounts < BaseClient def get(connected_account_id_or_params) params = if connected_account_id_or_params.is_a?(String) {connected_account_id: connected_account_id_or_params} else connected_account_id_or_params end request_seam_object( :get, "/connected_accounts/get", Seam::ConnectedAccount, "connected_account", params: params ) end def list(params = {}) request_seam_object( :get, "/connected_accounts/list", Seam::ConnectedAccount, "connected_accounts", params: params ) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems