Skip to content

Instantly share code, notes, and snippets.

@kballenegger
Created August 3, 2011 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kballenegger/1123446 to your computer and use it in GitHub Desktop.
Save kballenegger/1123446 to your computer and use it in GitHub Desktop.
require 'chartboost'
connection = Chartboost::ApiConnection.new
connection.app_id = my_app_id
connection.app_signature = my_app_secret
request = Chartboost::ApiRequest.new
request.controller = :api
request.action = :install
request.body = { :uuid => my_uuid }
connection.send request
#=> {"message"=>"Install request received!", "status"=>210}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment