Class: Atig::Command::Refresh
Instance Attribute Summary
Attributes inherited from Command
#api, #db, #gateway, #opts
Instance Method Summary
collapse
Methods inherited from Command
#find_by_tid, #initialize
Instance Method Details
#action(target, mesg, command, args) {|"refresh followings/lists..."| ... } ⇒ Object
11
12
13
14
15
|
# File 'lib/atig/command/refresh.rb', line 11
def action(target, mesg, command,args)
db.followings.invalidate
db.lists.invalidate :all
yield "refresh followings/lists..."
end
|
#command_name ⇒ Object
9
|
# File 'lib/atig/command/refresh.rb', line 9
def command_name; %w(refresh) end
|