Module: Viadeo::Operations::Get

Included in:
Newsfeed, Recommend, Search, User
Defined in:
lib/viadeo/operations/get.rb

Instance Method Summary collapse

Instance Method Details

#find(options = {}) ⇒ Object Also known as: retrieve, get



4
5
6
7
8
# File 'lib/viadeo/operations/get.rb', line 4

def find(options={})
  data = Viadeo.request(:get, url: url , access_token: @access_token, params: options)
  refresh_from(data, @access_token)
  self
end