This seems like it should be simple but I'm doing something wrong. How do I get access to the data from the result? I'm trying this:
result = Cloudinary::Api.resources(type: :upload)
result.resources.each do |resource|
I see the results returned. But when I try to access the data I get this error:
undefined method `resources' for #<Cloudinary::Api::Response:0x007fa38fdeb9c8>
What am I missing?
Post is closed for comments.