Module: Viadeo::Operations::Create

Included in:
Recommend, Status, User
Defined in:
lib/viadeo/operations/create.rb

Instance Method Summary collapse

Instance Method Details

#create(options = {}) ⇒ Object Also known as: post



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

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