Class: ScreenshotLayer::CaptureRequest
- Inherits:
-
Object
- Object
- ScreenshotLayer::CaptureRequest
- Includes:
- Hashable
- Defined in:
- lib/screenshot_capture.rb
Instance Attribute Summary collapse
-
#query ⇒ Object
Returns the value of attribute query.
Instance Method Summary collapse
-
#initialize(query = {}) ⇒ CaptureRequest
constructor
A new instance of CaptureRequest.
Constructor Details
#initialize(query = {}) ⇒ CaptureRequest
Returns a new instance of CaptureRequest.
114 115 116 |
# File 'lib/screenshot_capture.rb', line 114 def initialize(query = {}) self.query = query; end |
Instance Attribute Details
#query ⇒ Object
Returns the value of attribute query.
112 113 114 |
# File 'lib/screenshot_capture.rb', line 112 def query @query end |