Sha256: aade9bd15d031bccece9beada2482e6755e761110fe01adb7d2308b3cb490145
Contents?: true
Size: 374 Bytes
Versions: 3
Compression:
Stored size: 374 Bytes
Contents
require 'omnihooks' require 'multi_json' module OmniHooks module Strategies class Weebly include OmniHooks::Strategy option :name, 'weebly' event do raw_info end event_type do raw_info['event'] end private def raw_info @raw_info ||= MultiJson.decode(request.body) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
omnihooks-weebly-1.0.1 | lib/omnihooks/strategies/weebly.rb |
omnihooks-weebly-1.0.0 | lib/omnihooks/strategies/weebly.rb |
omnihooks-weebly-0.0.1 | lib/omnihooks/strategies/weebly.rb |