Sha256: 5754cccca920fbacd6ddb41cf81f5d71a951ce4e063d6aad7fa7a4138f7f0969

Contents?: true

Size: 483 Bytes

Versions: 3

Compression:

Stored size: 483 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

3 entries across 3 versions & 1 rubygems

Version Path
rumeme-0.2.0 lib/rumeme.rb
rumeme-0.1.7 lib/rumeme.rb
rumeme-0.1.6 lib/rumeme.rb