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-pro-cli-0.0.16 lib/vendor/core/ey-core/collections/users.rb
ey-pro-cli-0.0.15 lib/vendor/core/ey-core/collections/users.rb
ey-pro-cli-0.0.14 lib/vendor/core/ey-core/collections/users.rb
ey-pro-cli-0.0.13 lib/vendor/core/ey-core/collections/users.rb
ey-pro-cli-0.0.12 lib/vendor/core/ey-core/collections/users.rb
ey-pro-cli-0.0.11 lib/vendor/core/ey-core/collections/users.rb
ey-pro-cli-0.0.10 lib/vendor/core/ey-core/collections/users.rb
ey-pro-cli-0.0.9 lib/vendor/core/ey-core/collections/users.rb
ey-pro-cli-0.0.8 lib/vendor/core/ey-core/collections/users.rb
ey-pro-cli-0.0.7 lib/vendor/core/ey-core/collections/users.rb
ey-pro-cli-0.0.6 lib/vendor/core/ey-core/collections/users.rb
ey-pro-cli-0.0.5 lib/vendor/core/ey-core/collections/users.rb
ey-pro-cli-0.0.4 lib/vendor/core/ey-core/collections/users.rb
ey-pro-cli-0.0.3 lib/vendor/core/ey-core/collections/users.rb