Class: MercadoPublicoCl::Enums::TenderStatus

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

Constant Summary collapse

MAPPING =
{
  5 => :published,
  6 => :closed,
  7 => :deserted,
  8 => :awarded,
  18 => :revoked,
  19 => :suspended
}.freeze
DESCRIPTIONS =
{
  published: "Published",
  closed: "Closed",
  deserted: "Deserted",
  awarded: "Awarded",
  revoked: "Revoked",
  suspended: "Suspended",
  active: "Active",
  all: "All"
}.freeze
API_VALUES =
{
  published: "publicada",
  closed: "cerrada",
  deserted: "desierta",
  awarded: "adjudicada",
  revoked: "revocada",
  suspended: "suspendida",
  active: "activas",
  all: "todos"
}.freeze

Method Summary

Methods inherited from Base

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