mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Enhance images details call by query
The images.details method needs to support the query parameter. There is no other way how to pass the query into the images collection.
This commit is contained in:
parent
418fd8fdc1
commit
354607e210
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ module Fog
|
|||
load(service.list_public_images_detailed.body['images'])
|
||||
end
|
||||
|
||||
def details
|
||||
load(service.list_public_images_detailed.body['images'])
|
||||
def details(attribute=nil, query=nil)
|
||||
load(service.list_public_images_detailed(attribute, query).body['images'])
|
||||
end
|
||||
|
||||
def find_by_id(id)
|
||||
|
|
Loading…
Add table
Reference in a new issue