Class: Drumknott::Refresh
- Inherits:
-
Object
- Object
- Drumknott::Refresh
- Defined in:
- lib/drumknott/refresh.rb
Constant Summary collapse
- URL =
'http://drumknottsearch.com'
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(name, key) ⇒ Refresh
constructor
A new instance of Refresh.
Constructor Details
#initialize(name, key) ⇒ Refresh
Returns a new instance of Refresh.
8 9 10 |
# File 'lib/drumknott/refresh.rb', line 8 def initialize(name, key) @name, @key = name, key end |
Class Method Details
.call(name, key) ⇒ Object
4 5 6 |
# File 'lib/drumknott/refresh.rb', line 4 def self.call(name, key) new(name, key).call end |
Instance Method Details
#call ⇒ Object
12 13 14 15 16 17 |
# File 'lib/drumknott/refresh.rb', line 12 def call site.process clear update end |