Module: Viadeo::Operations::Create
Instance Method Summary collapse
- #create(options = {}) ⇒ Object (also: #post)
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(={}) data = Viadeo.request(:post, url: url , access_token: @access_token, params: ) refresh_from(data, @access_token) self end |