lib/fairdom/openbis_api/openbis_query.rb in openseek-api-0.17.4 vs lib/fairdom/openbis_api/openbis_query.rb in openseek-api-0.18

- old
+ new

@@ -1,13 +1,14 @@ require 'fairdom/openbis_api/java_execution' module Fairdom module OpenbisApi class OpenbisQuery - attr_reader :token + attr_reader :token, :is_test - def initialize(token) + def initialize(token, is_test = false) @token = token + @is_test = is_test end def query(options) execute(options) end