lib/zendesk_api/configuration.rb
# Sets accept and user_agent headers, and url.
#
# @return [Hash] Faraday-formatted hash of options.
Sets accept and user_agent headers, and url.
Sets accept and user_agent headers and url .
def options
      {
        :headers => {
          :accept => 'application/json',
          :accept_encoding => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
          :user_agent => "ZendeskAPI Ruby #{ZendeskAPI::VERSION}"
        },
        :request => {
          :open_timeout => 10,
          :timeout => 60
        },
        :url => @url
      }.merge(client_options)
    end
def options { :headers => { :accept => 'application/json' , :accept_encoding => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3' , :user_agent => "ZendeskAPI Ruby #{ZendeskAPI::VERSION}" } , :request => { :open_timeout => 10 , :timeout => 60 } , :url => @url } . merge ( client_options ) end
Sets accept and user_agent headers, and url.
Sets accept and user_agent headers and url .
Faraday-formatted hash of options.
Faraday - formatted hash of options .
Hash