Method: NexusAPI::NexusConnection#get_response
- Defined in:
- lib/nexus_api/nexus_connection.rb
#get_response(endpoint:, paginate: false, headers: {'Content-Type' => 'application/json'}, api_version: 'v1') ⇒ Object
19 20 21 22 |
# File 'lib/nexus_api/nexus_connection.rb', line 19 def get_response(endpoint:, paginate: false, headers: {'Content-Type' => 'application/json'}, api_version: 'v1') response = send_get(endpoint, paginate, headers, api_version) response.nil? ? Hash.new : jsonize(response) end |