module Freshdesk::Api::Client
Public Class Methods
convert_to_hash(response)
click to toggle source
# File lib/freshdesk/api/client/helper.rb, line 4 def self.convert_to_hash response JSON.parse response.to_str end
delete_status_wrapper() { || ... }
click to toggle source
# File lib/freshdesk/api/client/helper.rb, line 8 def self.delete_status_wrapper response = yield if block_given? if !response.nil? and (response >= 200 and response < 299) true else false end end