Sha256: a501a1b89caa7388e6588219b966db49fee527fb205ecc3198bf7f538eaa0ee4
Contents?: true
Size: 532 Bytes
Versions: 5
Compression:
Stored size: 532 Bytes
Contents
module FbGraph class Link < Node include Connections::Comments attr_accessor :from, :link, :message, :updated_time def initialize(identifier, options = {}) super if (from = options[:from]) @from = if from[:category] FbGraph::Page.new(from.delete(:id), from) else FbGraph::User.new(from.delete(:id), from) end end @link = options[:link] @message = options[:message] @updated_time = options[:updated_time] end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
fb_graph-0.0.7 | lib/fb_graph/link.rb |
fb_graph-0.0.6 | lib/fb_graph/link.rb |
fb_graph-0.0.5 | lib/fb_graph/link.rb |
fb_graph-0.0.4 | lib/fb_graph/link.rb |
fb_graph-0.0.3 | lib/fb_graph/link.rb |