Sha256: 89728103a04ae8268828dbb370ad57c71ea0774dad367d16a0127ae2ebaf5227

Contents?: true

Size: 443 Bytes

Versions: 4

Compression:

Stored size: 443 Bytes

Contents

require 'cm_sms/configuration'

module CmSms
  autoload :Messenger, 'cm_sms/messenger'
  autoload :Message, 'cm_sms/message'
  autoload :MessageDelivery, 'cm_sms/message_delivery'
  autoload :DeliveryJob, 'cm_sms/delivery_job' if defined?(ActiveJob)
  
  class << self
    def configure
      yield(configuration)
    end

    def configuration
      @configuration ||= Configuration.new
    end
    
    alias :config :configuration
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cm-sms-0.1.4 lib/cm_sms.rb
cm-sms-0.1.2 lib/cm_sms.rb
cm-sms-0.1.1 lib/cm_sms.rb
cm-sms-0.1.0 lib/cm_sms.rb