class Url include Enumerable attr_accessor :urls def initialize(key) @urls = Utils::get_webhook_urls(key) unless @urls.nil? @urls = @urls.uniq end return @urls end def new(key) end def each(&block) @urls.each(&block) end def nil? @urls.nil? end def <<(url) @urls << url end def delete(url) @urls.delete(url) end def uniq @urls.uniq end end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 10132 | jim_brower | Moved sendrequest.rb and added webhook-wrapper |