Sha256: 1344ac8e277be6818c07e80c4f44573558fe859c9cd0ca69de9e409f5e6b1c82

Contents?: true

Size: 1002 Bytes

Versions: 4

Compression:

Stored size: 1002 Bytes

Contents

# frozen_string_literal: true

require "rufus-scheduler"
require "active_support"
require "active_support/core_ext/time"
require_relative "twilio/middleware/proxy"
require_relative "twilio/webhook_client"
require_relative "twilio/webhooks/base"
require_relative "twilio/webhooks/messages"
require_relative "twilio/webhooks/calls"
require_relative "twilio/webhooks/call_status_updates"
require_relative "twilio/webhooks/conferences"
require_relative "twilio/webhooks/customer_profiles"
require_relative "twilio/util/configuration"
require_relative "twilio/client"
require_relative "twilio/decorator"
require_relative "twilio/response"
require_relative "twilio/version"

module Mock
  module Twilio
    extend SingleForwardable

    def_delegators :configuration, :host, :forwarded_host, :port, :proto

    def self.configure(&block)
      yield configuration
    end

    def self.configuration
      @configuration ||= Util::Configuration.new
    end

    private_class_method :configuration
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mock-twilio-0.7.0 lib/mock/twilio.rb
mock-twilio-0.6.0 lib/mock/twilio.rb
mock-twilio-0.5.0 lib/mock/twilio.rb
mock-twilio-0.4.0 lib/mock/twilio.rb