module Upkey::Helios::Builder
Public Class Methods
path(path_info_array)
click to toggle source
# File lib/upkey/helios/builder.rb, line 4 def self.path(path_info_array) path_str = "/api" path_info_array.each do |section| if section.values[0].nil? path_str += "/#{section.keys[0]}" else path_str += "/#{section.keys[0]}/#{section.values[0]}" end end path_str end