Wrapper for Freshservice API V2
Add this line to your application's Gemfile:
gem 'freshservice_apiv2'
And then execute:
$ bundle
Or install it yourself as:
$ gem install freshservice_apiv2
Every agent in freshservice has an api key associated to them use it to authenticate you API calls.
If Content-Type is not provided by Default it sets it to 'application/json', however it can be changed as per your requirement. For instance For creating tickets with attachments the content-type should be set to 'multipart/form-data'. For doing that create a client object as described above then use the object to change the content-type key in your header.
client.header["Content-Type"] = "multipart/form-data"
- Create Ticket
- View Ticket
- Create Ticket with Attachment
- Update Ticket
- Delete Ticket
- Add Note to Ticket
- Add Reply to Ticket
- Get All conversations of a Ticket
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request