Sha256: 16acda63bf4f24c1ba4ef9402c354c13bc90a933e13eda1c821c769a3e21645e

Contents?: true

Size: 750 Bytes

Versions: 24

Compression:

Stored size: 750 Bytes

Contents

module WatCatcher
  module Helper
    def javascript_wat_catcher
      javascript_include_tag "wat_catcher",
                             data: {
                              route: wat_catcher.wats_path,
                              app_name: ::Rails.application.class.parent_name,
                              app_user: wat_user.as_json
                             }
    end

    def javascript_bugsnag_catcher
      javascript_include_tag "bugsnag",
                             data: {
                               endpoint: wat_catcher.bugsnag_path(::Rails.application.class.parent_name),
                               apiKey: "a"*32,
                               user: wat_user.as_json
                             }
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
wat_catcher-0.10.9 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.10.8 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.10.7 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.10.6 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.10.5 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.10.4 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.10.3 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.10.2 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.10.1 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.10.0 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.9.0 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.8.9 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.8.8 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.8.7 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.8.6 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.8.5 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.8.4 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.8.3 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.8.2 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.8.1 lib/wat_catcher/wattle_helper.rb