Class: Fairdom::OpenbisApi::OpenbisQuery
- Inherits:
-
Object
- Object
- Fairdom::OpenbisApi::OpenbisQuery
- Defined in:
- lib/fairdom/openbis_api/openbis_query.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
- #command_option_key ⇒ Object
-
#initialize(token) ⇒ OpenbisQuery
constructor
A new instance of OpenbisQuery.
- #query(options) ⇒ Object
Constructor Details
#initialize(token) ⇒ OpenbisQuery
Returns a new instance of OpenbisQuery.
8 9 10 |
# File 'lib/fairdom/openbis_api/openbis_query.rb', line 8 def initialize(token) @token = token end |
Instance Attribute Details
#token ⇒ Object (readonly)
Returns the value of attribute token.
6 7 8 |
# File 'lib/fairdom/openbis_api/openbis_query.rb', line 6 def token @token end |
Instance Method Details
#command_option_key ⇒ Object
16 17 18 |
# File 'lib/fairdom/openbis_api/openbis_query.rb', line 16 def command_option_key 'query' end |
#query(options) ⇒ Object
12 13 14 |
# File 'lib/fairdom/openbis_api/openbis_query.rb', line 12 def query() execute() end |