Floppy-amee 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- 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