Class: Applitools::RenderingInfo
- Inherits:
-
Object
- Object
- Applitools::RenderingInfo
- Defined in:
- lib/applitools/core/rendering_info.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
- #access_token ⇒ Object
-
#initialize(response) ⇒ RenderingInfo
constructor
A new instance of RenderingInfo.
- #results_url ⇒ Object
- #service_url ⇒ Object
- #stitching_service_url ⇒ Object
Constructor Details
#initialize(response) ⇒ RenderingInfo
Returns a new instance of RenderingInfo.
6 7 8 9 10 |
# File 'lib/applitools/core/rendering_info.rb', line 6 def initialize(response) Applitools::ArgumentGuard.not_nil(response, 'response') Applitools::ArgumentGuard.hash(response, 'response') self.response = response end |
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
5 6 7 |
# File 'lib/applitools/core/rendering_info.rb', line 5 def response @response end |
Instance Method Details
#access_token ⇒ Object
24 25 26 |
# File 'lib/applitools/core/rendering_info.rb', line 24 def access_token response['accessToken'] end |
#results_url ⇒ Object
16 17 18 |
# File 'lib/applitools/core/rendering_info.rb', line 16 def results_url response['resultsUrl'] end |
#service_url ⇒ Object
12 13 14 |
# File 'lib/applitools/core/rendering_info.rb', line 12 def service_url response['serviceUrl'] end |
#stitching_service_url ⇒ Object
20 21 22 |
# File 'lib/applitools/core/rendering_info.rb', line 20 def stitching_service_url response['stitchingServiceUrl'] end |