class Seatsio::Client

def initialize(region, secret_key, workspace_key = nil, max_retries = 5)

def initialize(region, secret_key, workspace_key = nil, max_retries = 5)
  base_url = region.url
  @http_client = Seatsio::HttpClient.new(secret_key, workspace_key, base_url, max_retries)
  @charts = ChartsClient.new(@http_client)
  @subaccounts = SubaccountsClient.new(@http_client)
  @workspaces = WorkspacesClient.new(@http_client)
  @events = EventsClient.new(@http_client)
  @hold_tokens = HoldTokensClient.new(@http_client)
  @chart_reports = ChartReportsClient.new(@http_client)
  @event_reports = EventReportsClient.new(@http_client)
  @usage_reports = UsageReportsClient.new(@http_client)
end