File: span_status.rbs

package info (click to toggle)
ruby-aws-sdk-core 3.212.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,232 kB
  • sloc: ruby: 17,533; makefile: 4
file content (24 lines) | stat: -rw-r--r-- 436 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module Aws
  module Telemetry
    class SpanStatus

      def self.unset: (?::String description) -> SpanStatus

      def self.ok: (?::String description) -> SpanStatus

      def self.error: (?::String description) -> SpanStatus

      def initialize: (Integer code, ?description: ::String) -> void

      attr_reader code: Integer

      attr_reader description: String

      OK: 0

      UNSET: 1

      ERROR: 2
    end
  end
end