Class: LinkPreview::Configuration
- Inherits:
-
Object
- Object
- LinkPreview::Configuration
- Defined in:
- lib/link_preview/configuration.rb
Instance Attribute Summary collapse
-
#default_content_aspect_ratio ⇒ Object
Returns the value of attribute default_content_aspect_ratio.
-
#error_handler ⇒ Object
Returns the value of attribute error_handler.
-
#follow_redirects ⇒ Object
Returns the value of attribute follow_redirects.
-
#http_adapter ⇒ Object
Returns the value of attribute http_adapter.
-
#http_client ⇒ Object
Returns the value of attribute http_client.
-
#ignore_opengraph_video_type_html ⇒ Object
Returns the value of attribute ignore_opengraph_video_type_html.
-
#max_redirects ⇒ Object
Returns the value of attribute max_redirects.
-
#max_requests ⇒ Object
Returns the value of attribute max_requests.
-
#middleware ⇒ Object
Returns the value of attribute middleware.
-
#open_timeout ⇒ Object
Returns the value of attribute open_timeout.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
Instance Attribute Details
#default_content_aspect_ratio ⇒ Object
Returns the value of attribute default_content_aspect_ratio.
34 35 36 |
# File 'lib/link_preview/configuration.rb', line 34 def default_content_aspect_ratio @default_content_aspect_ratio end |
#error_handler ⇒ Object
Returns the value of attribute error_handler.
32 33 34 |
# File 'lib/link_preview/configuration.rb', line 32 def error_handler @error_handler end |
#follow_redirects ⇒ Object
Returns the value of attribute follow_redirects.
27 28 29 |
# File 'lib/link_preview/configuration.rb', line 27 def follow_redirects @follow_redirects end |
#http_adapter ⇒ Object
Returns the value of attribute http_adapter.
26 27 28 |
# File 'lib/link_preview/configuration.rb', line 26 def http_adapter @http_adapter end |
#http_client ⇒ Object
Returns the value of attribute http_client.
25 26 27 |
# File 'lib/link_preview/configuration.rb', line 25 def http_client @http_client end |
#ignore_opengraph_video_type_html ⇒ Object
Returns the value of attribute ignore_opengraph_video_type_html.
35 36 37 |
# File 'lib/link_preview/configuration.rb', line 35 def ignore_opengraph_video_type_html @ignore_opengraph_video_type_html end |
#max_redirects ⇒ Object
Returns the value of attribute max_redirects.
28 29 30 |
# File 'lib/link_preview/configuration.rb', line 28 def max_redirects @max_redirects end |
#max_requests ⇒ Object
Returns the value of attribute max_requests.
29 30 31 |
# File 'lib/link_preview/configuration.rb', line 29 def max_requests @max_requests end |
#middleware ⇒ Object
Returns the value of attribute middleware.
33 34 35 |
# File 'lib/link_preview/configuration.rb', line 33 def middleware @middleware end |
#open_timeout ⇒ Object
Returns the value of attribute open_timeout.
31 32 33 |
# File 'lib/link_preview/configuration.rb', line 31 def open_timeout @open_timeout end |
#timeout ⇒ Object
Returns the value of attribute timeout.
30 31 32 |
# File 'lib/link_preview/configuration.rb', line 30 def timeout @timeout end |