Method: Openai::Client::Edits#create
- Defined in:
- lib/openai/client/edits.rb
#create(body) ⇒ Hash
Public: Makes an API call to create edit.
14 15 16 17 18 |
# File 'lib/openai/client/edits.rb', line 14 def create(body) Http.new.post(PATH, body).body rescue Faraday::Error nil end |