Module: MetricsApi::V3::Endpoints::Helpers
Instance Method Summary collapse
Instance Method Details
#parse_date_param(date_param) ⇒ Object
6 7 8 9 10 |
# File 'app/services/metrics_api/v3/endpoints/helpers.rb', line 6 def parse_date_param(date_param) return nil unless date_param.present? Date.parse(date_param) end |