Class: ZendeskAPI::Search
- Defined in:
- lib/zendesk/zendesk-api.rb
Class Method Summary collapse
- .collection_path(prefix_options = {}, query_options = nil) ⇒ Object
- .element_path(id, prefix_options = {}, query_options = nil) ⇒ Object
Methods inherited from Base
Class Method Details
.collection_path(prefix_options = {}, query_options = nil) ⇒ Object
33 34 35 36 |
# File 'lib/zendesk/zendesk-api.rb', line 33 def self.collection_path( = {}, = nil) , = () if .nil? "#{prefix()}search.#{format.extension}#{query_string()}" end |
.element_path(id, prefix_options = {}, query_options = nil) ⇒ Object
38 39 40 41 |
# File 'lib/zendesk/zendesk-api.rb', line 38 def self.element_path(id, = {}, = nil) , = () if .nil? "#{prefix()}search.#{format.extension}#{query_string()}" end |