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.27.0 lib/svix/background_tasks_api.rb
svix-1.26.0 lib/svix/background_tasks_api.rb
svix-1.25.0 lib/svix/background_tasks_api.rb
svix-1.23.0 lib/svix/background_tasks_api.rb
svix-1.22.0 lib/svix/background_tasks_api.rb
svix-1.21.0 lib/svix/background_tasks_api.rb
svix-1.20.0 lib/svix/background_tasks_api.rb
svix-1.19.0 lib/svix/background_tasks_api.rb
svix-1.18.0 lib/svix/background_tasks_api.rb
svix-1.17.0 lib/svix/background_tasks_api.rb
svix-1.16.0 lib/svix/background_tasks_api.rb
svix-1.15.0 lib/svix/background_tasks_api.rb
svix-1.14.0 lib/svix/background_tasks_api.rb
svix-1.13.0 lib/svix/background_tasks_api.rb
svix-1.12.0 lib/svix/background_tasks_api.rb
svix-1.11.0 lib/svix/background_tasks_api.rb
svix-1.10.0 lib/svix/background_tasks_api.rb
svix-1.9.0 lib/svix/background_tasks_api.rb
svix-1.8.1 lib/svix/background_tasks_api.rb
svix-1.8.0 lib/svix/background_tasks_api.rb