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-17.8.0 lib/pennyworth/models/http_status.rb
pennyworth-17.7.0 lib/pennyworth/models/http_status.rb
pennyworth-17.6.0 lib/pennyworth/models/http_status.rb
pennyworth-17.5.0 lib/pennyworth/models/http_status.rb
pennyworth-17.4.1 lib/pennyworth/models/http_status.rb
pennyworth-17.4.0 lib/pennyworth/models/http_status.rb
pennyworth-17.3.0 lib/pennyworth/models/http_status.rb
pennyworth-17.2.0 lib/pennyworth/models/http_status.rb
pennyworth-17.1.0 lib/pennyworth/models/http_status.rb
pennyworth-17.0.0 lib/pennyworth/models/http_status.rb
pennyworth-16.7.0 lib/pennyworth/models/http_status.rb
pennyworth-16.5.0 lib/pennyworth/models/http_status.rb
pennyworth-16.4.0 lib/pennyworth/models/http_status.rb
pennyworth-16.3.0 lib/pennyworth/models/http_status.rb
pennyworth-16.2.0 lib/pennyworth/models/http_status.rb
pennyworth-16.1.0 lib/pennyworth/models/http_status.rb
pennyworth-16.0.0 lib/pennyworth/models/http_status.rb
pennyworth-15.4.1 lib/pennyworth/models/http_status.rb
pennyworth-15.4.0 lib/pennyworth/models/http_status.rb
pennyworth-15.3.0 lib/pennyworth/models/http_status.rb