Sha256: f6ae8d1a5a6767c4bcd00f8922f9ca2fdcaa201d0e45aed2e345f1cbc167cf35

Contents?: true

Size: 308 Bytes

Versions: 54

Compression:

Stored size: 308 Bytes

Contents

class Ey::Core::Client::Users < Ey::Core::Collection
  model Ey::Core::Client::User

  self.model_root         = "user"
  self.model_request      = :get_user
  self.collection_root    = "users"
  self.collection_request = :get_users

  def current
    new(connection.get_current_user.body["user"])
  end
end

Version data entries

54 entries across 54 versions & 3 rubygems

Version Path
ey-core-3.6.0.autoscaling1 lib/ey-core/collections/users.rb
ey-core-3.6.4 lib/ey-core/collections/users.rb
ey-core-3.6.3 lib/ey-core/collections/users.rb
ey-core-3.6.1 lib/ey-core/collections/users.rb
groove-ey-core-3.6.3 lib/ey-core/collections/users.rb
groove-ey-core-3.6.2 lib/ey-core/collections/users.rb
groove-ey-core-3.6.1 lib/ey-core/collections/users.rb
ey-core-3.5.0 lib/ey-core/collections/users.rb
ey-core-3.4.4 lib/ey-core/collections/users.rb
ey-core-3.4.2 lib/ey-core/collections/users.rb
ey-core-3.4.1 lib/ey-core/collections/users.rb
ey-core-3.4.0 lib/ey-core/collections/users.rb
ey-core-3.3.1 lib/ey-core/collections/users.rb
ey-core-3.3.0 lib/ey-core/collections/users.rb
ey-core-3.2.6 lib/ey-core/collections/users.rb
ey-core-3.2.5 lib/ey-core/collections/users.rb
ey-core-3.2.4 lib/ey-core/collections/users.rb
ey-core-3.2.3 lib/ey-core/collections/users.rb
ey-core-3.2.2 lib/ey-core/collections/users.rb
ey-core-3.2.1 lib/ey-core/collections/users.rb