Sha256: 80c994f38daad191781f6cdd29819691de631fe522f0241b1d263b763ffa95b2

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

require 'action_texter/configuration'
require 'pry'
module ActionTexter
  
  autoload :Messenger, 'action_texter/messenger'
  autoload :Message, 'action_texter/message'
  autoload :Request, 'action_texter/request'
  autoload :Helper, 'action_texter/helper'
  autoload :MessageDelivery, 'action_texter/message_delivery'
  autoload :DeliveryMethods, 'action_texter/delivery_methods'

  module Provider
    module Messagebird
      autoload :Delivery, 'action_texter/provider/messagebird/delivery'
      autoload :Response, 'action_texter/provider/messagebird/response'
      autoload :ErrorResponse, 'action_texter/provider/messagebird/response_error'
      autoload :SuccessMessagebird, 'action_texter/provider/messagebird/response_success'
    end

    module TestMessage
      autoload :Delivery, 'action_texter/provider/test_message/delivery'
    end
  end

  class << self
    
    def configure
      yield(configuration)
    end

    def configuration
      @configuration ||= Configuration.new
    end

    alias_method :config, :configuration
  
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
action-texter-0.1.2.ALPHA lib/action_texter.rb