Class: Slideshare::Client

Inherits:
Object
  • Object
show all
Includes:
Api, Authentication, Connection, Request
Defined in:
lib/slideshare/client.rb

Instance Method Summary collapse

Methods included from Api

#add_favorite, #check_favorite, #delete_slideshow, #edit_slideshow, #get_slideshow, #get_slideshows_by_group, #get_slideshows_by_tag, #get_slideshows_by_user, #get_user_campaign_leads, #get_user_campaigns, #get_user_contacts, #get_user_groups, #get_user_leads, #get_user_tags, #search_slideshows, #upload_slideshow

Methods included from Request

#delete, #get, #post, #put

Constructor Details

#initialize(options = {}) ⇒ Client

Creates a new API



11
12
13
14
15
16
# File 'lib/slideshare/client.rb', line 11

def initialize(options={})
  options = Slideshare.options.merge(options)
  Configuration::VALID_OPTIONS_KEYS.each do |key|
    send("#{key}=", options[key])
  end
end