lib/instascraper/bookmark.rb in instascraper-0.0.1 vs lib/instascraper/bookmark.rb in instascraper-0.0.2
- old
+ new
@@ -1,11 +1,13 @@
class Instascraper
class Bookmark
attr_reader :link
attr_reader :title
+ attr_reader :text
- def initialize(link, title)
+ def initialize(link, title, text)
@link = link
@title = title
+ @text = text
end
end
end
\ No newline at end of file