Skip to content

A platform for community discussion. Free, open, simple.

296 B
Raw Blame
# frozen_string_literal: true

module JsonApiKit
  module Declarations
    class Fields
      class All < Fields
        def initialize(**declarations) = super(nil, **declarations)

        def all? = true

        private

        def pick(fields) = readable(fields)
      end
    end
  end
end