module SnowplowTracker

Author

Alex Dean, Fred Blundun (support@snowplowanalytics.com)

Copyright

Copyright © 2013-2014 Snowplow Analytics Ltd

License

Apache License Version 2.0

Author

Alex Dean, Fred Blundun, Ed Lewis (support@snowplowanalytics.com)

Copyright

Copyright © 2016 Snowplow Analytics Ltd

License

Apache License Version 2.0

Author

Alex Dean, Fred Blundun (support@snowplowanalytics.com)

Copyright

Copyright © 2013-2014 Snowplow Analytics Ltd

License

Apache License Version 2.0

Constants

LOGGER
ORIGINAL_FAILURE_CALLBACK
TRACKER_VERSION
VERSION

Public Class Methods

disable_contracts() click to toggle source
# File lib/snowplow-tracker/contracts.rb, line 22
def self.disable_contracts
  Contract.define_singleton_method(:failure_callback) {|data| true}
end
enable_contracts() click to toggle source
# File lib/snowplow-tracker/contracts.rb, line 26
def self.enable_contracts
  Contract.define_singleton_method(:failure_callback, ORIGINAL_FAILURE_CALLBACK)
end