Module: Pipedrive::APIOperations::Create
- Included in:
- Resource
- Defined in:
- lib/pipedrive/api_operations/create.rb
Instance Method Summary collapse
Instance Method Details
#create(params) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/pipedrive/api_operations/create.rb', line 6 def create(params) response = request( :post, resource_url, search_for_fields(params) ) new(response.dig(:data)) end |