Class: Link
- Inherits:
-
Object
- Object
- Link
- Defined in:
- lib/stanzas/notification_stanza.rb
Instance Method Summary (collapse)
- - (Object) href
-
- (Link) initialize(node)
constructor
A new instance of Link.
- - (Object) rel
- - (Object) title
- - (Object) type
Constructor Details
- (Link) initialize(node)
A new instance of Link
25 26 27 |
# File 'lib/stanzas/notification_stanza.rb', line 25 def initialize(node) @node = node end |
Instance Method Details
- (Object) href
33 34 35 |
# File 'lib/stanzas/notification_stanza.rb', line 33 def href @node["href"] end |
- (Object) rel
37 38 39 |
# File 'lib/stanzas/notification_stanza.rb', line 37 def rel @node["rel"] end |
- (Object) title
29 30 31 |
# File 'lib/stanzas/notification_stanza.rb', line 29 def title @node["title"] end |
- (Object) type
41 42 43 |
# File 'lib/stanzas/notification_stanza.rb', line 41 def type @node["type"] end |