Created
January 16, 2015 09:04
-
-
Save makuchaku/cfff5c47773878cd9467 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "freshdesk" | |
client = Freshdesk.new("http://domain.freshdesk.com/", "username", "password") | |
client.response_format = "json" | |
ticket = client.post_tickets({:email => "[email protected]", :description => "description", :subject => "subject", :status => 1, :priority => 1}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment