lib/fanswatch/attachment.rb in fanswatch-0.0.0 vs lib/fanswatch/attachment.rb in fanswatch-0.1.0
- old
+ new
@@ -5,9 +5,11 @@
def initialize(data)
return unless data
@description = data['description']
@url = data['url']
+ @title = data['title']
+ @image_url = data['media']['image']['src']
end
end
end
\ No newline at end of file