Sha256: 9c0e2c1cf71aad98d3a612a4236907f248f4688438623dca0a7651397da4d334

Contents?: true

Size: 601 Bytes

Versions: 1

Compression:

Stored size: 601 Bytes

Contents

module Rumeme
  # Holds configuration attributes for sms interface
  class Configuration
    attr_accessor :username
    attr_accessor :password
    attr_accessor :use_message_id
    attr_accessor :secure
    attr_accessor :replies_auto_confirm

    #
    # possible values
    # :send - sends messages as is without any modification
    # :split - splits messages into small (less than 160 ch) messages
    # :cut - sends only first 160 symbols 
    attr_accessor :long_messages_strategy

    def initialize
      @replies_auto_confirm = true
      @long_messages_strategy = :send
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rumeme-0.1.5 lib/rumeme/configuration.rb