Sha256: 6862a2d89cd56271b784ee6af750bda8a7fb2771a4e3dbc0053d6eac5c095006

Contents?: true

Size: 411 Bytes

Versions: 4

Compression:

Stored size: 411 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module Etwin
  module Auth
    # Authentication scope enum
    class AuthScope < T::Enum
      extend T::Sig

      enums do
        Default = new('Default')
      end

      sig { returns(String) }
      def to_s
        T.cast(serialize, String)
      end

      sig { returns(String) }
      def inspect
        "AuthScope(#{self})"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
etwin-0.3.2 lib/etwin/auth/auth_scope.rb
etwin-0.0.3 lib/etwin/auth/auth_scope.rb
etwin-0.0.2 lib/etwin/auth/auth_scope.rb
etwin-0.0.1 lib/etwin/auth/auth_scope.rb