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.2.0 lib/ey-core/collections/users.rb
ey-core-3.1.11 lib/ey-core/collections/users.rb
ey-core-3.1.10 lib/ey-core/collections/users.rb
ey-core-3.1.9 lib/ey-core/collections/users.rb
ey-core-3.1.8 lib/ey-core/collections/users.rb
ey-core-3.1.7 lib/ey-core/collections/users.rb
ey-core-3.1.6 lib/ey-core/collections/users.rb
ey-core-3.1.5 lib/ey-core/collections/users.rb
ey-core-3.1.4 lib/ey-core/collections/users.rb
ey-core-3.1.3 lib/ey-core/collections/users.rb
ey-core-3.1.2 lib/ey-core/collections/users.rb
ey-core-3.1.1 lib/ey-core/collections/users.rb
ey-core-3.1.0 lib/ey-core/collections/users.rb
ey-core-3.0.5 lib/ey-core/collections/users.rb
ey-core-3.0.4 lib/ey-core/collections/users.rb
ey-core-3.0.3 lib/ey-core/collections/users.rb
ey-core-3.0.2 lib/ey-core/collections/users.rb
ey-core-3.0.1 lib/ey-core/collections/users.rb
ey-core-3.0.0 lib/ey-core/collections/users.rb
ey-pro-cli-0.0.17 lib/vendor/core/ey-core/collections/users.rb