Sha256: 7f13f6f2d9b5c8f4d926561f8c3549b93ae5e96e7b388e674fdc3c897f81ea5e

Contents?: true

Size: 212 Bytes

Versions: 19

Compression:

Stored size: 212 Bytes

Contents

module Sentry
  class ExceptionInterface < Interface
    attr_accessor :values

    def to_hash
      data = super
      data[:values] = data[:values].map(&:to_hash) if data[:values]
      data
    end
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
sentry-ruby-core-4.2.2 lib/sentry/interfaces/exception.rb
sentry-ruby-core-4.2.1 lib/sentry/interfaces/exception.rb
sentry-ruby-core-4.2.0 lib/sentry/interfaces/exception.rb
sentry-ruby-core-4.1.6 lib/sentry/interfaces/exception.rb
sentry-ruby-core-4.1.5 lib/sentry/interfaces/exception.rb
sentry-ruby-core-4.1.5.pre.beta.1 lib/sentry/interfaces/exception.rb
sentry-ruby-core-4.1.5.pre.beta.0 lib/sentry/interfaces/exception.rb
sentry-ruby-4.1.4 lib/sentry/interfaces/exception.rb
sentry-ruby-4.1.3 lib/sentry/interfaces/exception.rb
sentry-ruby-4.1.2 lib/sentry/interfaces/exception.rb
sentry-ruby-4.1.1 lib/sentry/interfaces/exception.rb
sentry-ruby-4.1.0 lib/sentry/interfaces/exception.rb
sentry-ruby-4.0.1 lib/sentry/interfaces/exception.rb
sentry-ruby-4.0.0 lib/sentry/interfaces/exception.rb
sentry-ruby-0.3.0 lib/sentry/interfaces/exception.rb
sentry-ruby-0.2.0 lib/sentry/interfaces/exception.rb
sentry-ruby-0.1.3 lib/sentry/interfaces/exception.rb
sentry-ruby-0.1.2 lib/sentry/interfaces/exception.rb
sentry-ruby-0.1.1 lib/sentry/interfaces/exception.rb