Class: SecuredService
- Inherits:
-
BaseService
- Object
- BaseService
- SecuredService
- Defined in:
- lib/services.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from BaseService
#access_pause_sleep, add_service_class, #execute, #fetch_url, #get_dest_path, #get_field_value, #get_file_header, #get_path_url, get_service, get_service_for_url, get_services, #get_type, #get_uri, #initialize, #is_excluded, #is_html_url, #is_pdf_url, #parse_html, #parse_html_page, #post, #process_pdf, #url_chomp
Constructor Details
This class inherits a constructor from BaseService
Instance Method Details
#_authenticate ⇒ Object
332 333 |
# File 'lib/services.rb', line 332 def _authenticate end |
#authenticate ⇒ Object
325 326 327 328 329 330 |
# File 'lib/services.rb', line 325 def authenticate unless @conf["auth"] != nil && @conf["auth"]["user"] != nil && @conf["auth"]["pass"] raise "No authentication (user name and password) given" end _authenticate end |