Sha256: 223838dfbe654a9a97013443091c72e8955f60ff63b12ce26e5ab25cd43e91e6

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 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 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

  autoload :TestMessage, 'action_texter/provider/test_message/test_message'

  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.1.pre lib/action_texter.rb