Sha256: 92b41a6a9fe42c251bb35444e522da81ac87fcbebde8643fcb4c738b89954d81

Contents?: true

Size: 577 Bytes

Versions: 2

Compression:

Stored size: 577 Bytes

Contents

module TMS #:nodoc:
  # A Keyword is a word that TMS will detect in an incoming SMS message.  Keywords can have Commands, and
  # when an incoming text message has a keyword, TMS will execute the keyword's Commands. 
  #
  # ==== Attributes  
  # 
  # * +name+ - The name of the keyword.
  #  
  # === Examples
  #   keyword = client.keywords.build(:name => "HOWDY")
  #   keyword.post
  #   keyword.name = "DOODY"
  #   keyword.put
  #   keyword.delete
  class Keyword
    include InstanceResource

    writeable_attributes :name
    collection_attributes :commands

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tms_client-0.0.3 lib/tms_client/resource/keyword.rb
tms_client-0.0.2 lib/tms_client/resource/keyword.rb