Sha256: 0b32e0461deb858c487e8e35af9f76a7f09d0677817c1d66c23fc97d1685180e
Contents?: true
Size: 644 Bytes
Versions: 1
Compression:
Stored size: 644 Bytes
Contents
module Fairdom module OpenbisApi class Authentication < OpenbisQuery attr_reader :as_endpoint, :username, :password def initialize(username, password, as_endpoint, is_test = false) @username = username @password = password @as_endpoint = as_endpoint @is_test = is_test 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}%,%is_test%:%#{is_test}%}'" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openseek-api-0.18 | lib/fairdom/openbis_api/authentication.rb |