Skip to content

Instantly share code, notes, and snippets.

@scottbaggett
Created February 19, 2013 19:32
Show Gist options
  • Select an option

  • Save scottbaggett/4989064 to your computer and use it in GitHub Desktop.

Select an option

Save scottbaggett/4989064 to your computer and use it in GitHub Desktop.
api call
create_invite: (entity_id, callback=->) =>
$.ajax
type: "PUT"
url: "#{@address}/invites/entities/#{entity_id}"
success: callback
error: (event) ->
log "LOG:","createinvite_error", event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment