Class: MercadoPublicoCl::Enums::TimeUnit

Inherits:
Base
  • Object
show all
Defined in:
lib/mercado_publico_cl/enums/time_unit.rb

Constant Summary collapse

MAPPING =
{
  1 => :hours,
  2 => :days,
  3 => :weeks,
  4 => :months,
  5 => :years
}.freeze
DESCRIPTIONS =
{
  hours: "Hours",
  days: "Days",
  weeks: "Weeks",
  months: "Months",
  years: "Years"
}.freeze

Method Summary

Methods inherited from Base

api_value, api_values, codes, description, descriptions, mapping, symbols, to_code, to_symbol