Module: LinkedIn::API::Post

Included in:
LinkedIn::API
Defined in:
lib/linked_in/api/post.rb

Instance Method Summary collapse

Instance Method Details

#get_post(id_or_params, options = {}) ⇒ Object



4
5
6
# File 'lib/linked_in/api/post.rb', line 4

def get_post(id_or_params, options={})
  get_object("posts", id_or_params, options)
end

#get_posts(ids, options = {}) ⇒ Object

Batch lookups



9
10
11
# File 'lib/linked_in/api/post.rb', line 9

def get_posts(ids, options={})
  get_objects("posts", ids, options)
end