Module: Xing::Api::Reader

Included in:
Client
Defined in:
lib/xing/api/reader.rb

Instance Method Summary collapse

Instance Method Details

#network_feed(options = {}) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/xing/api/reader.rb', line 5

def network_feed options={}
  path = "/users/" + user_id(options) + "/network_feed" + params(options).to_s
  raw_posts = get(path, options).fetch("network_activities", [])
  raw_posts.map{|post|
    Xing::Post.new(post)
  }
end