Class: Browserbeam::SessionListItem
- Inherits:
-
Struct
- Object
- Struct
- Browserbeam::SessionListItem
- Defined in:
- lib/browserbeam/types.rb
Instance Attribute Summary collapse
-
#session_id ⇒ Object
Returns the value of attribute session_id.
-
#started_at ⇒ Object
Returns the value of attribute started_at.
-
#status ⇒ Object
Returns the value of attribute status.
Class Method Summary collapse
Instance Attribute Details
#session_id ⇒ Object
Returns the value of attribute session_id
111 112 113 |
# File 'lib/browserbeam/types.rb', line 111 def session_id @session_id end |
#started_at ⇒ Object
Returns the value of attribute started_at
111 112 113 |
# File 'lib/browserbeam/types.rb', line 111 def started_at @started_at end |
#status ⇒ Object
Returns the value of attribute status
111 112 113 |
# File 'lib/browserbeam/types.rb', line 111 def status @status end |
Class Method Details
.from_hash(data) ⇒ Object
112 113 114 |
# File 'lib/browserbeam/types.rb', line 112 def self.from_hash(data) new(session_id: data["session_id"] || "", status: data["status"] || "", started_at: data["started_at"] || "") end |