Method: Rpdoc::PostmanCollection#push_and_create
- Defined in:
- lib/rpdoc/postman_collection.rb
#push_and_create ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/rpdoc/postman_collection.rb', line 15 def push_and_create path = "#{@configuration.postman_collection_path}?workspace=#{@configuration.collection_workspace}" headers = { 'X-Api-Key': @configuration.postman_apikey } @requester.http_send(:post, path, @data, headers) end |