Sha256: 998540a88753c8df579a800905dba29e716a5e4e245d119435cde79a17ad1e61

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 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 Mail
      autoload :Delivery, 'action_texter/provider/mail/delivery'
    end
    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.2.0.pre lib/action_texter.rb