Class: Ace::B36ts::CLI::Commands::Decode
- Inherits:
-
Support::Cli::Command
- Object
- Support::Cli::Command
- Ace::B36ts::CLI::Commands::Decode
- Includes:
- Support::Cli::Base
- Defined in:
- lib/ace/b36ts/cli/commands/decode.rb
Overview
Decode a compact ID to a timestamp
Instance Method Summary collapse
Instance Method Details
#call(compact_id:, **options) ⇒ Object
37 38 39 40 41 42 |
# File 'lib/ace/b36ts/cli/commands/decode.rb', line 37 def call(compact_id:, **) # Convert numeric options from strings to integers coerce_types(, year_zero: :integer) Ace::B36ts::Commands::DecodeCommand.execute(compact_id, ) end |