Sha256: b3b4690167e9d6dd971dcda582e6895f2b12364b20ef761bbf52ce112bb0f40d

Contents?: true

Size: 247 Bytes

Versions: 27

Compression:

Stored size: 247 Bytes

Contents

# frozen_string_literal: true

module Pennyworth
  module Models
    # Defines HTTP status details.
    HTTPStatus = Data.define :code, :label, :url do
      def initialize code: nil, label: nil, url: nil
        super
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
pennyworth-15.2.0 lib/pennyworth/models/http_status.rb
pennyworth-15.1.1 lib/pennyworth/models/http_status.rb
pennyworth-15.1.0 lib/pennyworth/models/http_status.rb
pennyworth-15.0.3 lib/pennyworth/models/http_status.rb
pennyworth-15.0.2 lib/pennyworth/models/http_status.rb
pennyworth-15.0.1 lib/pennyworth/models/http_status.rb
pennyworth-15.0.0 lib/pennyworth/models/http_status.rb