Class: Applitools::Session
- Inherits:
-
Object
- Object
- Applitools::Session
- Defined in:
- lib/applitools/core/session.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(session_id, session_url, new_session) ⇒ Session
constructor
A new instance of Session.
- #new_session? ⇒ Boolean
Constructor Details
#initialize(session_id, session_url, new_session) ⇒ Session
Returns a new instance of Session.
7 8 9 10 11 |
# File 'lib/applitools/core/session.rb', line 7 def initialize(session_id, session_url, new_session) @id = session_id @url = session_url @new_session = new_session end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/applitools/core/session.rb', line 5 def id @id end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
5 6 7 |
# File 'lib/applitools/core/session.rb', line 5 def url @url end |
Instance Method Details
#new_session? ⇒ Boolean
13 14 15 |
# File 'lib/applitools/core/session.rb', line 13 def new_session? @new_session end |