Sha256: aa295bfec36d2e23dff73eca4fac15c19c1bf618bed52514595d8065f52750fc

Contents?: true

Size: 408 Bytes

Versions: 24

Compression:

Stored size: 408 Bytes

Contents

class Zendesk2::Client::UserIdentities < Zendesk2::Collection
  include Zendesk2::Searchable

  model Zendesk2::Client::UserIdentity

  attribute :user_id, type: :integer

  self.collection_method = :get_user_identities
  self.collection_root   = "identities"
  self.model_method      = :get_user_identity
  self.model_root        = "identity"
  self.search_type       = "identity"

  scopes << :user_id
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
zendesk2-0.2.2 lib/zendesk2/client/models/user_identities.rb
zendesk2-0.2.1 lib/zendesk2/client/models/user_identities.rb
zendesk2-0.2.0 lib/zendesk2/client/models/user_identities.rb
zendesk2-0.1.3 lib/zendesk2/client/models/user_identities.rb