Class: W3cApi::Commands::SpecificationVersion
- Inherits:
- 
      Thor
      
        - Object
- Thor
- W3cApi::Commands::SpecificationVersion
 
- Includes:
- OutputFormatter
- Defined in:
- lib/w3c_api/commands/specification_version.rb
Instance Method Summary collapse
Methods included from OutputFormatter
Instance Method Details
#deliverers ⇒ Object
| 36 37 38 39 40 41 42 43 44 | # File 'lib/w3c_api/commands/specification_version.rb', line 36 def deliverers client = W3cApi::Client.new result = client.specification_version_deliverers([:shortname], [:version]) output_results(result, [:format]) rescue StandardError => e puts "Error: #{e.}" exit 1 end | 
#editors ⇒ Object
| 18 19 20 21 22 23 24 25 26 | # File 'lib/w3c_api/commands/specification_version.rb', line 18 def editors client = W3cApi::Client.new result = client.specification_version_editors([:shortname], [:version]) output_results(result, [:format]) rescue StandardError => e puts "Error: #{e.}" exit 1 end |