Method: PCO::API::Endpoint#get
- Defined in:
- lib/pco/api/endpoint.rb
#get(params = {}) ⇒ Object
46 47 48 49 50 51 |
# File 'lib/pco/api/endpoint.rb', line 46 def get(params = {}) @last_result = @connection.get(@url, params) _build_response(@last_result) rescue Errors::TooManyRequests => e _retry_after_timeout?(e) ? retry : raise end |