Sha256: cc4cd7e77e206ade14917920be693837d498722a9ae1f5a4133a1939505cc89b

Contents?: true

Size: 568 Bytes

Versions: 4

Compression:

Stored size: 568 Bytes

Contents

# frozen_string_literal: true

module TwilioBase
  module Fake
    module TaskRouter
      class Client
        def initialize(_account_sid, _auth_token); end

        def v1
          self
        end

        def workspaces(sid = nil)
          Fake::TaskRouter::Workspace.new(sid)
        end

        def tasks(sid = nil)
          @tasks ||= Fake::TaskRouter::Task.new(sid)
        end

        def workers
          Fake::TaskRouter::Worker.new
        end

        def activities
          Fake::TaskRouter::Activity.new
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twilio_base-1.11.1101 spec/support/twilio_base/fake/task_router/client.rb
twilio_base-1.11.11 spec/support/twilio_base/fake/task_router/client.rb
twilio_base-1.9.0 spec/support/twilio_base/fake/task_router/client.rb
twilio_base-1.8.0 spec/support/twilio_base/fake/task_router/client.rb