Sha256: 4489fca9ec696cecedc6ccd17c17fde46fb89fecee2d65f7cda17d5f55602d48
Contents?: true
Size: 577 Bytes
Versions: 3
Compression:
Stored size: 577 Bytes
Contents
module Fairdom module OpenbisApi class Authentication < OpenbisQuery attr_reader :as_endpoint, :username, :password def initialize(username, password, as_endpoint) @username = username @password = password @as_endpoint = as_endpoint end def login execute [] end def execute_command(_options) java_root_command end def root_command_options " -account '{%username%:%#{username}%\,%password%:%#{password}%}' -endpoints '{%as%:%#{as_endpoint}%}'" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
openseek-api-0.17.4 | lib/fairdom/openbis_api/authentication.rb |
openseek-api-0.17.3 | lib/fairdom/openbis_api/authentication.rb |
openseek-api-0.17.2 | lib/fairdom/openbis_api/authentication.rb |