Class: Flickr::Api::License
- Defined in:
- lib/flickr/api/license.rb
Instance Method Summary collapse
Methods inherited from Abstract
#find, #initialize, object_class
Methods included from Flickr::AutoloadHelper
#autoload_dir, #autoload_names
Constructor Details
This class inherits a constructor from Flickr::Api::Abstract
Instance Method Details
#all(params = {}) ⇒ Flickr::Object::List<Flickr::Object::License>
11 12 13 14 |
# File 'lib/flickr/api/license.rb', line 11 def all(params = {}) response = get "photos.licenses.getInfo", params new_list(:License, response["licenses"]["license"]) end |