Sha256: 2bd15e474602bd5c868a339e1a153e4916d31514ef0439014ad488dbb6e28643
Contents?: true
Size: 309 Bytes
Versions: 14
Compression:
Stored size: 309 Bytes
Contents
# frozen_string_literal: true module Lokalise module Utils module EndpointHelpers def path_from(raw_mapping) template = Addressable::Template.new '{/segments*}' template.expand( segments: raw_mapping.to_a.flatten ).to_s end end end end
Version data entries
14 entries across 14 versions & 1 rubygems