Class: SMQueue::Adapter
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Doodle
#to_hash
Class Method Details
.create(configuration) ⇒ Object
157
158
159
160
161
162
163
164
165
166
167
168
169
|
# File 'lib/smqueue.rb', line 157
def self.create(configuration)
configuration = configuration.dup
adapter = configuration.delete(:adapter)
ac = AdapterConfiguration.new(:adapter_class => adapter)
klass = ac.adapter_class
klass.new(:configuration => configuration)
end
|
Instance Method Details
#close(*args, &block) ⇒ Object
150
151
|
# File 'lib/smqueue.rb', line 150
def close(*args, &block)
end
|
#get(*args, &block) ⇒ Object
these are the core methods
153
154
|
# File 'lib/smqueue.rb', line 153
def get(*args, &block)
end
|
#open(*args, &block) ⇒ Object
these are not called anywhere…
148
149
|
# File 'lib/smqueue.rb', line 148
def open(*args, &block)
end
|
#put(*args, &block) ⇒ Object
155
156
|
# File 'lib/smqueue.rb', line 155
def put(*args, &block)
end
|