Sha256: b020a9b3ef7e5c8eed77845d81b2007f49435227e1791415cb9bc94d51822e29

Contents?: true

Size: 809 Bytes

Versions: 4

Compression:

Stored size: 809 Bytes

Contents

module Smshelper
  class Config
    attr_accessor :smswarehouse, :routomessaging, :webtext, :bulksms, :clickatell, :textmagic, :smstrade, :esendex, :mediaburst, :nexmo, :detectlanguage_dot_com, :alchemy_language

    def initialize(interfaces = {})
      @smswarehouse = interfaces[:smswarehouse]
      @routomessaging = interfaces[:routomessaging]
      @webtext = interfaces[:webtext]
      @bulksms = interfaces[:bulksms]
      @clickatell = interfaces[:clickatell]
      @textmagic = interfaces[:textmagic]
      @smstrade = interfaces[:smstrade]
      @esendex = interfaces[:esendex]
      @mediaburst = interfaces[:mediaburst]
      @nexmo = interfaces[:nexmo]
      @detectlanguage_dot_com = interfaces[:detectlanguage_dot_com]
      @alchemy_language = interfaces[:alchemy_language]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
smshelper-0.2.2 lib/smshelper/config.rb
smshelper-0.2.1 lib/smshelper/config.rb
smshelper-0.2.0 lib/smshelper/config.rb
smshelper-0.1.3 lib/smshelper/config.rb