Class: FlockOs::Collection::User

Inherits:
Base
  • Object
show all
Defined in:
lib/flock_os/collection/user.rb

Instance Method Summary collapse

Methods inherited from Base

#collection

Constructor Details

#initialize(collection_params = []) ⇒ User

Returns a new instance of User.



4
5
6
7
8
# File 'lib/flock_os/collection/user.rb', line 4

def initialize(collection_params = [])
  @collection = collection_params.map do |param|
    FlockOs::Model::User.new(param)
  end
end