Class: FortyTwo::Response::Users

Inherits:
Base
  • Object
show all
Defined in:
lib/fortytwo/responses/users.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ Users

Returns a new instance of Users.



9
10
11
12
13
# File 'lib/fortytwo/responses/users.rb', line 9

def initialize(json)
	super(json)

  @users = parse(@users, Model::User)
end

Instance Attribute Details

#usersObject (readonly)

Returns the value of attribute users.



7
8
9
# File 'lib/fortytwo/responses/users.rb', line 7

def users
  @users
end