Sha256: ffbe5758037ad4350df35825cd79a71bf89951d0caba344c31b340dc73986ec0

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 KB

Contents

# frozen_string_literal: true

require "rufus-scheduler"
require "active_support"
require "active_support/core_ext/time"
require "twilio-ruby"
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"
require_relative "../twilio/rest/messaging/v1/service/phone_number_decorator"

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

2 entries across 2 versions & 1 rubygems

Version Path
mock-twilio-0.7.2 lib/mock/twilio.rb
mock-twilio-0.7.1 lib/mock/twilio.rb