Module: Slideshare::Api
- Includes:
- Request
- Defined in:
- lib/slideshare/api.rb
Class Method Summary
collapse
Methods included from Request
do_delete, do_get, do_post, do_put
Class Method Details
.get_slideshow(slideshow_id, slideshow_url) ⇒ Object
15
16
17
18
19
20
|
# File 'lib/slideshare/api.rb', line 15
def self.get_slideshow(slideshow_id, slideshow_url)
params = default_parameters
params[:slideshow_id] = slideshow_id
params[:slideshow_url] = slideshow_url
Request.do_get("http://www.slideshare.net/api/2/get_slideshow", :query => params)
end
|
.get_slideshows_by_user(username) ⇒ Object
9
10
11
12
13
|
# File 'lib/slideshare/api.rb', line 9
def self.get_slideshows_by_user(username)
params = default_parameters
params[:username_for] = username
Request.do_get("http://www.slideshare.net/api/2/get_slideshows_by_user", :query => params)
end
|