Class: Flickr::Photosets
Defined Under Namespace
Classes: Photoset
Constant Summary
Constants inherited from Base
Base::AUTH_ENDPOINT, Base::REST_ENDPOINT, Base::UPLOAD_ENDPOINT
Instance Attribute Summary
Attributes inherited from Base
#api_key, #api_secret, #token, #token_cache
Instance Method Summary collapse
-
#get_list(options = {}) ⇒ Object
Get the authorized user’s contact list.
-
#initialize(flickr) ⇒ Photosets
constructor
A new instance of Photosets.
Methods inherited from Base
#auth, #contacts, #people, #photos, #photosets, #send_request, #sign_request, #test, #uploader, #urls
Constructor Details
#initialize(flickr) ⇒ Photosets
Returns a new instance of Photosets.
2 3 4 |
# File 'lib/flickr/photosets.rb', line 2 def initialize(flickr) @flickr = flickr end |
Instance Method Details
#get_list(options = {}) ⇒ Object
Get the authorized user’s contact list.
8 9 10 11 |
# File 'lib/flickr/photosets.rb', line 8 def get_list(={}) rsp = @flickr.send_request('flickr.photosets.getList', ) collect_photosets(rsp) end |