62 63 64 65 66 67
# File 'lib/Client.rb', line 62 def webhooks(plain: false) output = request("/webhook/list") return output if plain output.map{|o| Finnhub::Webhook.new(client: self, id: o[:id], hash: o)} end