Sha256: 8e182508fa055488af32bae29fe4a58c778f3236339da1c2c3d7dc87cfb71234

Contents?: true

Size: 599 Bytes

Versions: 1

Compression:

Stored size: 599 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.4.1 lib/rumeme/configuration.rb