Class: Link

Inherits:
Object
  • Object
show all
Defined in:
lib/stanzas/notification_stanza.rb

Instance Method Summary (collapse)

Constructor Details

- (Link) initialize(node)



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