Sha256: bd5577e6c7979d688506089a597a6a3e31dac631669b64e101cdd426fb2a2c08

Contents?: true

Size: 296 Bytes

Versions: 13

Compression:

Stored size: 296 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module EML
  module UK
    class EndpointClass < ::EML::EndpointClass
      extend T::Sig

      private

      sig { returns(String) }
      def action_class_name
        return "Show" if @endpoint.empty?

        super
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
eml-3.0.0 lib/eml/uk/lib/endpoint_class.rb
eml-2.2.0 lib/eml/uk/lib/endpoint_class.rb
eml-2.1.8 lib/eml/uk/lib/endpoint_class.rb
eml-2.1.7 lib/eml/uk/lib/endpoint_class.rb
eml-2.1.6 lib/eml/uk/lib/endpoint_class.rb
eml-2.1.5 lib/eml/uk/lib/endpoint_class.rb
eml-2.1.4 lib/eml/uk/lib/endpoint_class.rb
eml-2.1.3 lib/eml/uk/lib/endpoint_class.rb
eml-2.1.2 lib/eml/uk/lib/endpoint_class.rb
eml-2.1.1 lib/eml/uk/lib/endpoint_class.rb
eml-2.1.0 lib/eml/uk/lib/endpoint_class.rb
eml-2.0.0 lib/eml/uk/lib/endpoint_class.rb
eml-1.0.0 lib/eml/uk/lib/endpoint_class.rb