lib/proxes/request/index.rb in proxes-0.8.1 vs lib/proxes/request/index.rb in proxes-0.8.2

- old
+ new

@@ -13,9 +13,13 @@ self.path_info = '/' + [index, type, id].compact .map { |v| v.is_a?(Array) ? v.join(',') : v } .select { |v| !v.nil? && v != '' }.join('/') end + def endpoint + nil + end + def parse @index ||= check_part(path_parts[0]) @type ||= check_part(path_parts[1]) @id ||= check_part(path_parts[2]) end