softlayer / softlayer-ruby

http://softlayer.github.io/softlayer-ruby/
MIT License
54 stars 35 forks source link

is it possible to apply an advanced filters? #78

Closed raulcabero closed 9 years ago

raulcabero commented 9 years ago

Hi,

is it possible to apply an advanced filter in the last version of the client?

for example I would like to set the same object filter as in this REST call https://$user:$Apikey@api.softlayer.com/rest/v3/SoftLayer_Account/getVirtualGuests.json?objectMask=mask[tagReferences[tag]]&&objectFilter={"virtualGuests":{"tagReferences":{"tag":{"name":{"operation":"in", "options":[{"name": "data", "value": ["=tagA","=tagB”]} ] } } } } }}

but I did not find a way how to set the "options" in the Ruby API filter

Regards

ju2wheels commented 9 years ago

Yes it is, check out the example used here:

SLsthompson commented 9 years ago

Ha! Thanks. You beat me to it.

raulcabero commented 9 years ago

thank you very much :)