Class: Rabbit::Source::SlideShare

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/rabbit/source/slide-share.rb

Instance Attribute Summary

Attributes included from Base

#base, #encoding, #force_modified, #tmp_base

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Base

append_features, #extension, #full_path, #modified?, #need_read?, #old?, #open_full_path, #read, #reset, #source=, #tmp_dir_name

Constructor Details

#initialize(encoding, logger, user, title) ⇒ SlideShare

Returns a new instance of SlideShare.



18
19
20
21
22
23
24
# File 'lib/rabbit/source/slide-share.rb', line 18

def initialize(encoding, logger, user, title)
  @user = user
  @title = title
  @uri = ::URI.parse("#{slide_uri}/download")
  super(encoding, logger)
  @last_modified = nil
end

Class Method Details

.initial_args_descriptionObject



13
14
15
# File 'lib/rabbit/source/slide-share.rb', line 13

def initial_args_description
  N_("[USER] and [TITLE]")
end