Sha256: 8b11059d04e50780ac994dbd9ad7e7c411792e9528b106e1457ef2b5687133d0

Contents?: true

Size: 336 Bytes

Versions: 1

Compression:

Stored size: 336 Bytes

Contents

module Mblox
  class << self
    def config
      @config ||= Configuration.new
    end

    def configure
      yield config
    end
  end

  class Configuration
    attr_accessor :outbound_url, :profile_id, :sender_id, :password, :partner_name, :tariff, :service_id
    attr_reader :logger, :log_level, :on_message_too_long
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mblox-0.6.0 lib/mblox/configuration.rb