Sha256: 2227f4850145626a1410fd4eeddf6878fdcaff938671ec57937a33a88b28b904

Contents?: true

Size: 258 Bytes

Versions: 15

Compression:

Stored size: 258 Bytes

Contents

class Zendesk2::Client::GetMemberships < Zendesk2::Client::Request
  request_method :get
  request_path { |r| "/organization_memberships.json" }

  page_params!

  def mock
    page(self.data[:memberships].values, root: "organization_memberships")
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
zendesk2-1.7.5 lib/zendesk2/client/requests/get_memberships.rb
zendesk2-1.7.4 lib/zendesk2/client/requests/get_memberships.rb
zendesk2-1.7.2 lib/zendesk2/client/requests/get_memberships.rb
zendesk2-1.7.1 lib/zendesk2/client/requests/get_memberships.rb
zendesk2-1.7.0 lib/zendesk2/client/requests/get_memberships.rb
zendesk2-1.6.1 lib/zendesk2/client/requests/get_memberships.rb
zendesk2-1.5.17 lib/zendesk2/client/requests/get_memberships.rb
zendesk2-1.5.16 lib/zendesk2/client/requests/get_memberships.rb
zendesk2-1.5.15 lib/zendesk2/client/requests/get_memberships.rb
zendesk2-1.5.14 lib/zendesk2/client/requests/get_memberships.rb
zendesk2-1.5.13 lib/zendesk2/client/requests/get_memberships.rb
zendesk2-1.5.12 lib/zendesk2/client/requests/get_memberships.rb
zendesk2-1.5.11 lib/zendesk2/client/requests/get_memberships.rb
zendesk2-1.5.10 lib/zendesk2/client/requests/get_memberships.rb
zendesk2-1.5.9 lib/zendesk2/client/requests/get_memberships.rb