Class: Aspera::RestParameters

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#download_partial_suffixObject

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_barObject

Returns the value of attribute progress_bar.



34
35
36
# File 'lib/aspera/rest.rb', line 34

def progress_bar
  @progress_bar
end

#retry_on_errorObject

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_sleepObject

Returns the value of attribute retry_sleep.



34
35
36
# File 'lib/aspera/rest.rb', line 34

def retry_sleep
  @retry_sleep
end

#session_cbObject

Returns the value of attribute session_cb.



34
35
36
# File 'lib/aspera/rest.rb', line 34

def session_cb
  @session_cb
end

#user_agentObject

Returns the value of attribute user_agent.



34
35
36
# File 'lib/aspera/rest.rb', line 34

def user_agent
  @user_agent
end