Class: FortyTwo::Response::UserSessions
- Defined in:
- lib/fortytwo/responses/user_sessions.rb
Instance Attribute Summary collapse
-
#user_sessions ⇒ Object
readonly
Returns the value of attribute user_sessions.
Instance Method Summary collapse
-
#initialize(json) ⇒ UserSessions
constructor
A new instance of UserSessions.
Constructor Details
#initialize(json) ⇒ UserSessions
Returns a new instance of UserSessions.
9 10 11 12 13 |
# File 'lib/fortytwo/responses/user_sessions.rb', line 9 def initialize(json) super(json) @user_sessions = parse(@user_sessions, Model::UserSession) end |
Instance Attribute Details
#user_sessions ⇒ Object (readonly)
Returns the value of attribute user_sessions.
7 8 9 |
# File 'lib/fortytwo/responses/user_sessions.rb', line 7 def user_sessions @user_sessions end |