class Queued::Item
Attributes
type[R]
url[R]
value[R]
Public Class Methods
new(client, options = {})
click to toggle source
# File lib/queued/item.rb, line 5 def initialize(client, options = {}) @client = client @value = options[:value] @type = options[:type] @url = options[:url] end
Public Instance Methods
complete()
click to toggle source
# File lib/queued/item.rb, line 12 def complete @client.delete @url self end