Sha256: ff90dc09a47c34c7866dabc9b25a73568ae223e4e27a94823b8ac284e86ea7df

Contents?: true

Size: 411 Bytes

Versions: 65

Compression:

Stored size: 411 Bytes

Contents

class Zendesk2::Client
  class Real
    def get_organizations(params={})
      page_params = Zendesk2.paging_parameters(params)

      request(
        :params  => page_params,
        :method  => :get,
        :path    => "/organizations.json",
      )
    end
  end
  class Mock
    def get_organizations(params={})
      page(params, :organizations, "/organizations.json", "organizations")
    end
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
zendesk2-1.4.0 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.3.3 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.3.2 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.3.1 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.3.0 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.2.10 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.2.9 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.2.7 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.2.6 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.2.5 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.2.4 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.2.3 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.2.2 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.2.1 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.2.0 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.1.3 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.1.2 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-1.0.0 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-0.5.4 lib/zendesk2/client/requests/get_organizations.rb
zendesk2-0.5.3 lib/zendesk2/client/requests/get_organizations.rb