class Decent::ExchangeRate

Public Class Methods

execute(args) click to toggle source
# File lib/decent/command/exchange_rate/exchange_rate.rb, line 3
def self.execute(args)
  command  = args.first
  commands = {
    "list"   => ListExchangeRate,
    "update" => UpdateExchangeRate
  }

  commands[command].execute
end