Sha256: d7222e0f476d1b7a84eee783adaf750d2affecac2323677a08c5b795fe23c09e
Contents?: true
Size: 453 Bytes
Versions: 2
Compression:
Stored size: 453 Bytes
Contents
class Zendesk2::Client class Real def get_organizations(params={}) page_params = Zendesk2.paging_parameters(params) request( :params => page_params, :method => :get, :url => params.delete("url"), :path => "/organizations.json", ) end end class Mock def get_organizations(params={}) page(params, :organizations, "/organizations.json", "organizations") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zendesk2-1.4.2 | lib/zendesk2/client/requests/get_organizations.rb |
zendesk2-1.4.1 | lib/zendesk2/client/requests/get_organizations.rb |