Class: BladeRunner::Session
- Inherits:
-
Model
- Object
- OpenStruct
- Model
- BladeRunner::Session
show all
- Defined in:
- lib/blade_runner/session.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Model
all, find, models, remove, size
Class Method Details
.combined_test_results ⇒ Object
.create(attributes) ⇒ Object
3
4
5
6
7
|
# File 'lib/blade_runner/session.rb', line 3
def create(attributes)
model = super
model.test_results = BladeRunner::TestResults.new(model.id)
model
end
|
Instance Method Details
#to_s ⇒ Object
14
15
16
|
# File 'lib/blade_runner/session.rb', line 14
def to_s
@to_s ||= "#{ua.browser} #{ua.version} #{ua.platform}"
end
|