Class: LinkPreview::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/link_preview/configuration.rb

Instance Attribute Summary collapse

Instance Attribute Details

#default_content_aspect_ratioObject

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_handlerObject

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_redirectsObject

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_adapterObject

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_clientObject

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_htmlObject

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_redirectsObject

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_requestsObject

Returns the value of attribute max_requests.



29
30
31
# File 'lib/link_preview/configuration.rb', line 29

def max_requests
  @max_requests
end

#middlewareObject

Returns the value of attribute middleware.



33
34
35
# File 'lib/link_preview/configuration.rb', line 33

def middleware
  @middleware
end

#open_timeoutObject

Returns the value of attribute open_timeout.



31
32
33
# File 'lib/link_preview/configuration.rb', line 31

def open_timeout
  @open_timeout
end

#timeoutObject

Returns the value of attribute timeout.



30
31
32
# File 'lib/link_preview/configuration.rb', line 30

def timeout
  @timeout
end