Class: Split::Cli::Session
- Inherits:
-
Object
- Object
- Split::Cli::Session
- Includes:
- Helper
- Defined in:
- lib/split/cli/session.rb
Constant Summary collapse
- CONFIG_ERROR_MESSAGE =
'Set SPLIT_YAML_CONFIG to a valid path.'.freeze
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#request ⇒ Object
Returns the value of attribute request.
-
#session_id ⇒ Object
Returns the value of attribute session_id.
Instance Method Summary collapse
- #ab_test(*args) ⇒ Object
- #finished(*args) ⇒ Object
-
#initialize(session_id, options = {}) ⇒ Session
constructor
A new instance of Session.
Constructor Details
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
8 9 10 |
# File 'lib/split/cli/session.rb', line 8 def @options end |
#request ⇒ Object
Returns the value of attribute request.
8 9 10 |
# File 'lib/split/cli/session.rb', line 8 def request @request end |
#session_id ⇒ Object
Returns the value of attribute session_id.
8 9 10 |
# File 'lib/split/cli/session.rb', line 8 def session_id @session_id end |
Instance Method Details
#ab_test(*args) ⇒ Object
19 20 21 22 |
# File 'lib/split/cli/session.rb', line 19 def ab_test(*args) raise_unless_valid_args!(args) super end |
#finished(*args) ⇒ Object
24 25 26 27 |
# File 'lib/split/cli/session.rb', line 24 def finished(*args) raise_unless_valid_args!(args) super end |