Sha256: 8a10fa26d7ccd0b1b437c62e3b0abc3b98da477e8f16d04f25c0d122712f722a

Contents?: true

Size: 1.3 KB

Versions: 5

Compression:

Stored size: 1.3 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/webhooks/brands"
require_relative "twilio/webhooks/inbound_messages"
require_relative "twilio/webhooks/voicemail"
require_relative "twilio/util/configuration"
require_relative "twilio/util/error_handler"
require_relative "twilio/util/generator"
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

5 entries across 5 versions & 1 rubygems

Version Path
mock-twilio-1.4 lib/mock/twilio.rb
mock-twilio-1.3.2 lib/mock/twilio.rb
mock-twilio-1.3.1 lib/mock/twilio.rb
mock-twilio-1.3.0 lib/mock/twilio.rb
mock-twilio-1.2.0 lib/mock/twilio.rb