Method: Rubygpt::Connection::Faraday#post
- Defined in:
- lib/rubygpt/connection/faraday.rb
#post(*args) ⇒ Object
22 23 24 25 26 27 28 29 30 |
# File 'lib/rubygpt/connection/faraday.rb', line 22 def post(*args) faraday_response = super(*args) Rubygpt::Response::StandardApiResponse.new( adapter_response: faraday_response, status: faraday_response.status, body: faraday_response.body, headers: faraday_response.headers ) end |