Class: Otter::Link
Instance Attribute Summary
Attributes inherited from Base
#data
Instance Method Summary
collapse
Methods inherited from Base
create, #initialize
Constructor Details
This class inherits a constructor from Otter::Base
Instance Method Details
#content ⇒ Object
24
25
26
|
# File 'lib/otter/link.rb', line 24
def content
self.data['content']
end
|
#highlight ⇒ Object
32
33
34
|
# File 'lib/otter/link.rb', line 32
def highlight
self.data['highlight']
end
|
#hits ⇒ Object
20
21
22
|
# File 'lib/otter/link.rb', line 20
def hits
Integer(self.data['hits'])
end
|
#score ⇒ Object
28
29
30
|
# File 'lib/otter/link.rb', line 28
def score
Float(self.data['score'])
end
|
#title ⇒ Object
12
13
14
|
# File 'lib/otter/link.rb', line 12
def title
self.data['title']
end
|
#topsy_trackback_url ⇒ Object
4
5
6
|
# File 'lib/otter/link.rb', line 4
def topsy_trackback_url
self.data['topsy_trackback_url']
end
|
#trackback_total ⇒ Object
16
17
18
|
# File 'lib/otter/link.rb', line 16
def trackback_total
self.data['trackback_total']
end
|
#url ⇒ Object
8
9
10
|
# File 'lib/otter/link.rb', line 8
def url
self.data['url']
end
|