Sha256: 8f15d9e0d08d68ad2a3c06f1579098b1f6c9b847f80ac0fc3fa7bcbabe8bb481

Contents?: true

Size: 477 Bytes

Versions: 1

Compression:

Stored size: 477 Bytes

Contents

require "rumeme/configuration"
require "rumeme/message_status"
require "rumeme/validity_period"
require "rumeme/sms_message"
require "rumeme/sms_reply"
require "rumeme/sms_interface"

module Rumeme
  class << self
    attr_accessor :configuration

    def configure
      @configuration ||= Configuration.new
      yield @configuration

      raise 'unknown long_messages_strategy' unless [:split, :send, :cut].include?(@configuration.long_messages_strategy)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rumeme-0.4.1 lib/rumeme.rb