wideopenspaces-flickry 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION.yml +1 -1
- data/lib/flickry/comment.rb +3 -2
- metadata +1 -1
data/VERSION.yml
CHANGED
data/lib/flickry/comment.rb
CHANGED
@@ -2,13 +2,14 @@ module Flickry
|
|
2
2
|
class Comment < Flickry::Base
|
3
3
|
def initialize(comment)
|
4
4
|
super(nil)
|
5
|
-
|
5
|
+
@comment_id = comment.id
|
6
|
+
extract_attrs!(comment, [:authorname, :datecreate, :permalink])
|
6
7
|
self.content = comment.to_s
|
7
8
|
self.author_id = comment.author
|
8
9
|
end
|
9
10
|
|
10
11
|
def comment_id
|
11
|
-
|
12
|
+
@comment_id
|
12
13
|
end
|
13
14
|
|
14
15
|
def to_s
|