Module: Wokku
- Defined in:
- lib/wokku.rb,
lib/wokku/config.rb,
lib/wokku/output.rb,
lib/wokku/version.rb,
lib/wokku/registry.rb,
lib/wokku/api_client.rb
Defined Under Namespace
Modules: CLI, Config, Output, Registry Classes: ApiClient
Constant Summary collapse
- VERSION =
"0.1.0"
Class Attribute Summary collapse
- .api_client ⇒ Object
-
.json ⇒ Object
Returns the value of attribute json.
-
.quiet ⇒ Object
Returns the value of attribute quiet.
Class Method Summary collapse
Class Attribute Details
.api_client ⇒ Object
20 21 22 |
# File 'lib/wokku.rb', line 20 def api_client @api_client ||= ApiClient.new(user_agent: "WokkuCLI/#{VERSION}") end |
.json ⇒ Object
Returns the value of attribute json.
18 19 20 |
# File 'lib/wokku.rb', line 18 def json @json end |
.quiet ⇒ Object
Returns the value of attribute quiet.
18 19 20 |
# File 'lib/wokku.rb', line 18 def quiet @quiet end |
Class Method Details
.json? ⇒ Boolean
24 |
# File 'lib/wokku.rb', line 24 def json? = !!@json |
.quiet? ⇒ Boolean
25 |
# File 'lib/wokku.rb', line 25 def quiet? = !!@quiet |