lib/qpush/web/post.rb in qpush-0.1.4 vs lib/qpush/web/post.rb in qpush-0.1.6
- old
+ new
@@ -1,8 +1,12 @@
module QPush
module Web
class Post
class << self
- def queue_delayed(id, score)
- queue = Apis::QueueDelayed.new(id)
- queue.call.to_json
+ def create(params)
+ create = Apis::Create.new(params)
+ create.call
end
+ end
+ end
+ end
+end