Method: TripletexRubyClient::ActivityApi#post

Defined in:
lib/tripletex_ruby_client/api/activity_api.rb

#post(opts = {}) ⇒ ResponseWrapperActivity

Add activity.

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :body (Activity)

    JSON representing the new object to be created. Should not have ID and version set.

Returns:



149
150
151
152
# File 'lib/tripletex_ruby_client/api/activity_api.rb', line 149

def post(opts = {})
  data, _status_code, _headers = post_with_http_info(opts)
  data
end