Sha256: 4aad252c596fd6284b1abadfa1b2b53c39de6921d7544d92513ed5647db8664d

Contents?: true

Size: 352 Bytes

Versions: 46

Compression:

Stored size: 352 Bytes

Contents

# frozen_string_literal: true

module Svix
  class BackgroundTasksAPI
    def initialize(api_client)
      @api = BackgroundTasksApi.new(api_client)
    end

    def list(options = {})
      return @api.list_background_tasks(options)
    end

    def get(task_id, options = {})
      return @api.get_background_task(task_id, options)
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
svix-1.56.0 lib/svix/background_tasks_api.rb
svix-1.45.1 lib/svix/background_tasks_api.rb
svix-1.45.0 lib/svix/background_tasks_api.rb
svix-1.44.0 lib/svix/background_tasks_api.rb
svix-1.43.0 lib/svix/background_tasks_api.rb
svix-1.42.0 lib/svix/background_tasks_api.rb
svix-1.41.0 lib/svix/background_tasks_api.rb
svix-1.40.0 lib/svix/background_tasks_api.rb
svix-1.39.0 lib/svix/background_tasks_api.rb
svix-1.38.0 lib/svix/background_tasks_api.rb
svix-1.37.0 lib/svix/background_tasks_api.rb
svix-1.36.0 lib/svix/background_tasks_api.rb
svix-1.35.0 lib/svix/background_tasks_api.rb
svix-1.34.0 lib/svix/background_tasks_api.rb
svix-1.33.0 lib/svix/background_tasks_api.rb
svix-1.32.0 lib/svix/background_tasks_api.rb
svix-1.31.0 lib/svix/background_tasks_api.rb
svix-1.30.0 lib/svix/background_tasks_api.rb
svix-1.29.0 lib/svix/background_tasks_api.rb
svix-1.28.0 lib/svix/background_tasks_api.rb