Floppy-amee 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/amee/profile_item.rb +5 -3
- data/lib/amee/version.rb +1 -1
- data/lib/amee.rb +1 -1
- metadata +1 -1
data/lib/amee/profile_item.rb
CHANGED
@@ -271,9 +271,11 @@ module AMEE
|
|
271
271
|
location = category.full_path + "/" + category.items[0][:path]
|
272
272
|
end
|
273
273
|
if get_item == true
|
274
|
-
|
275
|
-
|
276
|
-
|
274
|
+
get_options = {}
|
275
|
+
get_options[:returnUnit] = options[:returnUnit] if options[:returnUnit]
|
276
|
+
get_options[:returnPerUnit] = options[:returnPerUnit] if options[:returnPerUnit]
|
277
|
+
get_options[:format] = format if format
|
278
|
+
return AMEE::Profile::Item.get(connection, location, get_options)
|
277
279
|
else
|
278
280
|
return location
|
279
281
|
end
|
data/lib/amee/version.rb
CHANGED
data/lib/amee.rb
CHANGED