Sha256: e762e3f3956053147b3280047b52846e8e016912185991d8c5094633a9a020b4

Contents?: true

Size: 896 Bytes

Versions: 1

Compression:

Stored size: 896 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/schemas/api_2010"
require_relative "twilio/schemas/messaging_v1"
require_relative "twilio/webhook_client"
require_relative "twilio/webhooks/base"
require_relative "twilio/webhooks/messages"
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

1 entries across 1 versions & 1 rubygems

Version Path
mock-twilio-0.2.0 lib/mock/twilio.rb