lib/fanswatch/attachment.rb in fanswatch-0.1.1 vs lib/fanswatch/attachment.rb in fanswatch-0.1.2
- old
+ new
@@ -1,8 +1,8 @@
module FansWatch
# Attached URL to Posting
class Attachment
- attr_reader :description, :url
+ attr_reader :description, :url, :title, :image_url
def initialize(data)
return unless data
@description = data['description']
@url = data['url']
\ No newline at end of file