Module: ProsperWorks::ApiOperations::Find

Includes:
Connect
Included in:
BaseEntity, Webhook
Defined in:
lib/prosperworks/api_operations/find.rb

Instance Method Summary collapse

Methods included from Connect

#get_uri, #handle_multiple_response, #handle_response, #send_request

Instance Method Details

#find(id) ⇒ Object



9
10
11
12
13
14
# File 'lib/prosperworks/api_operations/find.rb', line 9

def find(id)
  uri = get_uri(api_name, id)

  response = send_request("get", uri)
  handle_response(self.new, response)
end