Sha256: b7748067c8653e111077da0f9c139a5fbd3b24e7227f118b00a2077a91e9a82a
Contents?: true
Size: 601 Bytes
Versions: 11
Compression:
Stored size: 601 Bytes
Contents
module Sentry class Breadcrumb attr_accessor :category, :data, :message, :level, :timestamp, :type def initialize(category: nil, data: nil, message: nil, timestamp: nil, level: nil, type: nil) @category = category @data = data || {} @level = level @message = message @timestamp = timestamp || Sentry.utc_now.to_i @type = type end def to_hash { :category => @category, :data => @data, :level => @level, :message => @message, :timestamp => @timestamp, :type => @type } end end end
Version data entries
11 entries across 11 versions & 2 rubygems