Class: Epodder::Fetch

Inherits:
Verb show all
Defined in:
lib/verb/fetch.rb

Instance Method Summary collapse

Methods inherited from Verb

#add_command, #each_argument, #lookup_args, #verb_struct

Constructor Details

#initializeFetch

Returns a new instance of Fetch.



3
4
5
# File 'lib/verb/fetch.rb', line 3

def initialize
    # Nothing to do in initalize
end

Instance Method Details

#fetch(args) ⇒ Object



7
8
9
10
# File 'lib/verb/fetch.rb', line 7

def fetch(args)
    Update.new.update args
    Download.new.download args
end