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
34 35 36 37 |
# File 'lib/zendesk/zendesk-api.rb', line 34 def self.collection_path( = {}, = nil) , = () if .nil? "#{prefix()}search.#{format.extension}#{query_string()}" end |
.element_path(id, prefix_options = {}, query_options = nil) ⇒ Object
39 40 41 42 |
# File 'lib/zendesk/zendesk-api.rb', line 39 def self.element_path(id, = {}, = nil) , = () if .nil? "#{prefix()}search.#{format.extension}#{query_string()}" end |