module ProsperWorks::ApiOperations::Create

Public Instance Methods

create(attributes) click to toggle source
# File lib/prosperworks/api_operations/create.rb, line 10
def create(attributes)
  entity = self.new(attributes)
  uri = get_uri(api_name)

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