Class: AppleSystemStatus::CLI
- Inherits:
-
Thor
- Object
- Thor
- AppleSystemStatus::CLI
- Defined in:
- lib/apple_system_status/cli.rb
Instance Method Summary collapse
Instance Method Details
#fetch ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/apple_system_status/cli.rb', line 10 def fetch response = AppleSystemStatus::Crawler.perform( country: [:country], title: [:title], ) puts AppleSystemStatus.format_response(response, [:format]) end |
#version ⇒ Object
19 20 21 |
# File 'lib/apple_system_status/cli.rb', line 19 def version puts AppleSystemStatus::VERSION end |