Class: ThatLanguage::Client::AvailableQuery
- Defined in:
- lib/that_language/client/available_query.rb
Instance Attribute Summary
Attributes inherited from Query
Instance Method Summary collapse
- #available ⇒ Object
-
#initialize(client: Client.current) ⇒ AvailableQuery
constructor
FIXME: do not pass text to super.
Methods inherited from Query
Constructor Details
#initialize(client: Client.current) ⇒ AvailableQuery
FIXME: do not pass text to super
7 8 9 |
# File 'lib/that_language/client/available_query.rb', line 7 def initialize(client: Client.current) super(text: "", client: client) end |
Instance Method Details
#available ⇒ Object
11 12 13 |
# File 'lib/that_language/client/available_query.rb', line 11 def available json["available"] end |