Sha256: 0b7308b5c1d00a9c24fbb1c02a124b75dd5af5ce384ed9f51751af79b8fc7e17

Contents?: true

Size: 394 Bytes

Versions: 7

Compression:

Stored size: 394 Bytes

Contents

require "mblox/configuration"
require "mblox/sms"
require "mblox/sms_receipt"
require "mblox/version"

module Mblox
  MAX_BATCH_ID = (10**8)-1
  class << self
    def log *args
      self.config.logger.__send__(self.config.log_level, *args) if self.config.logger
    end
    def is_a_five_digit_number?(_)
      ((_.is_a?(Fixnum) || _.is_a?(String)) && 5 == _.to_i.to_s.size)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mblox-0.6.2 lib/mblox.rb
mblox-0.6.0 lib/mblox.rb
mblox-0.5.3 lib/mblox.rb
mblox-0.5.2 lib/mblox.rb
mblox-0.5.1 lib/mblox.rb
mblox-0.5.0 lib/mblox.rb
mblox-0.4.2 lib/mblox.rb