Class: Aspera::RestParameters
- Inherits:
-
Object
- Object
- Aspera::RestParameters
- Includes:
- Singleton
- Defined in:
- lib/aspera/rest.rb
Overview
Global settings for Rest object For example to remove certificate verification globally: ‘RestParameters.instance.session_cb = lambda{|http|http.verify_mode=OpenSSL::SSL::VERIFY_NONE}`
Instance Attribute Summary collapse
-
#download_partial_suffix ⇒ Object
Returns the value of attribute download_partial_suffix.
-
#progress_bar ⇒ Object
Returns the value of attribute progress_bar.
-
#retry_on_error ⇒ Object
Returns the value of attribute retry_on_error.
-
#retry_sleep ⇒ Object
Returns the value of attribute retry_sleep.
-
#session_cb ⇒ Object
Returns the value of attribute session_cb.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
Instance Attribute Details
#download_partial_suffix ⇒ Object
Returns the value of attribute download_partial_suffix.
34 35 36 |
# File 'lib/aspera/rest.rb', line 34 def download_partial_suffix @download_partial_suffix end |
#progress_bar ⇒ Object
Returns the value of attribute progress_bar.
34 35 36 |
# File 'lib/aspera/rest.rb', line 34 def @progress_bar end |
#retry_on_error ⇒ Object
Returns the value of attribute retry_on_error.
34 35 36 |
# File 'lib/aspera/rest.rb', line 34 def retry_on_error @retry_on_error end |
#retry_sleep ⇒ Object
Returns the value of attribute retry_sleep.
34 35 36 |
# File 'lib/aspera/rest.rb', line 34 def retry_sleep @retry_sleep end |
#session_cb ⇒ Object
Returns the value of attribute session_cb.
34 35 36 |
# File 'lib/aspera/rest.rb', line 34 def session_cb @session_cb end |
#user_agent ⇒ Object
Returns the value of attribute user_agent.
34 35 36 |
# File 'lib/aspera/rest.rb', line 34 def user_agent @user_agent end |