Sha256: 2ec2b0a4ad10e47aee13cff542d032f17be497b024241cc4a859184e92f66676
Contents?: true
Size: 249 Bytes
Versions: 1
Compression:
Stored size: 249 Bytes
Contents
module Washbullet class Authorization < Faraday::Request::Authorization def call(env) if env.url.to_s.match(Washbullet::Client::ENDPOINT) env.request_headers[KEY] = @header_value end @app.call(env) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
washbullet-0.4.0 | lib/washbullet/authorization.rb |