Class: Rabbit::Source::SlideShare
- Inherits:
-
Object
- Object
- Rabbit::Source::SlideShare
- 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
-
#initialize(encoding, logger, user, title) ⇒ SlideShare
constructor
A new instance of SlideShare.
Methods included from Base
append_features, #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("#{}/download") super(encoding, logger) @last_modified = nil end |
Class Method Details
.initial_args_description ⇒ Object
13 14 15 |
# File 'lib/rabbit/source/slide-share.rb', line 13 def initial_args_description N_("[USER] and [TITLE]") end |