Class: ScreenshotLayer::CaptureOptions
- Inherits:
-
Object
- Object
- ScreenshotLayer::CaptureOptions
- Includes:
- Hashable
- Defined in:
- lib/screenshot_capture.rb
Instance Attribute Summary collapse
-
#accept_lang ⇒ Object
Returns the value of attribute accept_lang.
-
#access_key ⇒ Object
Returns the value of attribute access_key.
-
#css_url ⇒ Object
Returns the value of attribute css_url.
-
#delay ⇒ Object
Returns the value of attribute delay.
-
#export ⇒ Object
Returns the value of attribute export.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#force ⇒ Object
Returns the value of attribute force.
-
#format ⇒ Object
Returns the value of attribute format.
-
#fullpage ⇒ Object
Returns the value of attribute fullpage.
-
#placeholder ⇒ Object
Returns the value of attribute placeholder.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
-
#ttl ⇒ Object
Returns the value of attribute ttl.
-
#url ⇒ Object
Returns the value of attribute url.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
-
#viewport ⇒ Object
Returns the value of attribute viewport.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize ⇒ CaptureOptions
constructor
A new instance of CaptureOptions.
Constructor Details
#initialize ⇒ CaptureOptions
Returns a new instance of CaptureOptions.
144 145 146 |
# File 'lib/screenshot_capture.rb', line 144 def initialize() @query = nil end |
Instance Attribute Details
#accept_lang ⇒ Object
Returns the value of attribute accept_lang.
140 141 142 |
# File 'lib/screenshot_capture.rb', line 140 def accept_lang @accept_lang end |
#access_key ⇒ Object
Returns the value of attribute access_key.
125 126 127 |
# File 'lib/screenshot_capture.rb', line 125 def access_key @access_key end |
#css_url ⇒ Object
Returns the value of attribute css_url.
134 135 136 |
# File 'lib/screenshot_capture.rb', line 134 def css_url @css_url end |
#delay ⇒ Object
Returns the value of attribute delay.
135 136 137 |
# File 'lib/screenshot_capture.rb', line 135 def delay @delay end |
#export ⇒ Object
Returns the value of attribute export.
141 142 143 |
# File 'lib/screenshot_capture.rb', line 141 def export @export end |
#filename ⇒ Object
Returns the value of attribute filename.
142 143 144 |
# File 'lib/screenshot_capture.rb', line 142 def filename @filename end |
#force ⇒ Object
Returns the value of attribute force.
137 138 139 |
# File 'lib/screenshot_capture.rb', line 137 def force @force end |
#format ⇒ Object
Returns the value of attribute format.
133 134 135 |
# File 'lib/screenshot_capture.rb', line 133 def format @format end |
#fullpage ⇒ Object
Returns the value of attribute fullpage.
130 131 132 |
# File 'lib/screenshot_capture.rb', line 130 def fullpage @fullpage end |
#placeholder ⇒ Object
Returns the value of attribute placeholder.
138 139 140 |
# File 'lib/screenshot_capture.rb', line 138 def placeholder @placeholder end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
126 127 128 |
# File 'lib/screenshot_capture.rb', line 126 def secret_key @secret_key end |
#ttl ⇒ Object
Returns the value of attribute ttl.
136 137 138 |
# File 'lib/screenshot_capture.rb', line 136 def ttl @ttl end |
#url ⇒ Object
Returns the value of attribute url.
128 129 130 |
# File 'lib/screenshot_capture.rb', line 128 def url @url end |
#user_agent ⇒ Object
Returns the value of attribute user_agent.
139 140 141 |
# File 'lib/screenshot_capture.rb', line 139 def user_agent @user_agent end |
#viewport ⇒ Object
Returns the value of attribute viewport.
132 133 134 |
# File 'lib/screenshot_capture.rb', line 132 def @viewport end |
#width ⇒ Object
Returns the value of attribute width.
131 132 133 |
# File 'lib/screenshot_capture.rb', line 131 def width @width end |