Module: VehicleCodingPh
- Defined in:
- lib/vehicle_coding_ph.rb,
lib/vehicle_coding_ph/checker.rb,
lib/vehicle_coding_ph/version.rb,
lib/vehicle_coding_ph/response.rb
Defined Under Namespace
Classes: Checker, Error, Response
Constant Summary collapse
- AREA_TO_HOUR_MAPPING =
{ "Marikina" => [], "Muntinlupa" => [], "Taguig" => [], "Pasig" => [7, 8, 9, 16, 17, 18, 19], "Makati" => [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "Mandaluyong" => [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], "Pasay" => [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], "Las Pinas" => [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], "Paranaque" => [7, 8, 9, 16, 17, 18, 19], "Caloocan" => [7, 8, 9, 10, 16, 17, 18, 19], "Quezon City" => [7, 8, 9, 10, 16, 17, 18, 19], "Valenzuela" => [7, 8, 9, 10, 16, 17, 18, 19], "Malabon" => [7, 8, 9, 10, 16, 17, 18, 19], "San Juan" => [7, 8, 9, 10, 16, 17, 18, 19], "Navotas" => [7, 8, 9, 10, 16, 17, 18, 19], "Manila" => [7, 8, 9, 10, 16, 17, 18, 19], "Pateros" => [7, 8, 9, 10, 16, 17, 18, 19], }
- VERSION =
"1.2.1"
Class Method Summary collapse
Class Method Details
.coding_scheme ⇒ Object
11 12 13 14 |
# File 'lib/vehicle_coding_ph.rb', line 11 def self.coding_scheme file = File.join(File.dirname(__FILE__), "sources", "coding_scheme.yml") YAML.load_file(file).map(&:with_indifferent_access) end |