Sha256: e22b115b7e791dc2bfc358ced178612953f1638a755899f3f87dce05ca933725
Contents?: true
Size: 743 Bytes
Versions: 9
Compression:
Stored size: 743 Bytes
Contents
module RCAP module CAP_1_1 # An Alert object is valid if # * it has an identifier # * it has a sender # * it has a sent time # * it has a valid status value # * it has a valid messge type value # * it has a valid scope value # * all Info objects contained in infos are valid class Alert < RCAP::Base::Alert XMLNS = "urn:oasis:names:tc:emergency:cap:1.1" CAP_VERSION = "1.1" STATUS_DRAFT = "Draft" # Valid values for status VALID_STATUSES = [ STATUS_ACTUAL, STATUS_EXERCISE, STATUS_SYSTEM, STATUS_TEST, STATUS_DRAFT ] # @return [String] def xmlns XMLNS end # @return [Info] def info_class Info end end end end
Version data entries
9 entries across 9 versions & 1 rubygems