Sha256: 3ed0b74fee11bbdaefe5626126fa334d788c5aa65d4aabd23be4b498c91e22a7
Contents?: true
Size: 232 Bytes
Versions: 7
Compression:
Stored size: 232 Bytes
Contents
def parse_path(path = [], ext = :json) path = [path] unless path.class == Array "/admin/" << path.map {|p| p.to_s}.join("/") << ".#{ext.to_s}" end def parse_options(options = {}) options.map {|k,v| "#{k}=#{v}"}.join("&") end
Version data entries
7 entries across 7 versions & 2 rubygems