described_routes 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +10 -0
- data/lib/described_routes.rb +2 -1
- metadata +1 -1
data/History.txt
CHANGED
data/lib/described_routes.rb
CHANGED
@@ -2,7 +2,7 @@ require 'described_routes/resource_template'
|
|
2
2
|
|
3
3
|
module DescribedRoutes
|
4
4
|
# rubygem version
|
5
|
-
VERSION = "0.1.
|
5
|
+
VERSION = "0.1.1"
|
6
6
|
|
7
7
|
# Convert an array of ResourceTemplate objects to array of hashes equivalent to their JSON or YAML representations
|
8
8
|
def self.to_parsed(resource_templates)
|
@@ -48,6 +48,7 @@ module DescribedRoutes
|
|
48
48
|
value_tag(xm, resource_template, "rel")
|
49
49
|
value_tag(xm, resource_template, "name")
|
50
50
|
value_tag(xm, resource_template, "path_template")
|
51
|
+
value_tag(xm, resource_template, "uri_template")
|
51
52
|
|
52
53
|
list_tag(xm, resource_template["params"], "Params", "param")
|
53
54
|
list_tag(xm, resource_template["optional_params"], "OptionalParams", "param")
|