Sha256: 84a6ab9ab34ef5d9bdbd42660277090b82f3de98c2b265ca741799cb971c7627
Contents?: true
Size: 563 Bytes
Versions: 20
Compression:
Stored size: 563 Bytes
Contents
module Blather class Stanza ## # @return [Punchblock::RayoNode] a child of RayoNode # representing the Rayo command/event contained within the stanza # def rayo_node first_child = children.first Punchblock::RayoNode.import first_child, call_id, component_id if first_child end ## # @return [String] the call ID this stanza applies to # def call_id from.node end ## # @return [String] the command ID this stanza applies to # def component_id from.resource end end end
Version data entries
20 entries across 20 versions & 1 rubygems