sul-dlss/argo

View on GitHub
app/components/show/apo/grant_component.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module Show
  module Apo
    class GrantComponent < ApplicationComponent
      def initialize(grant:)
        @name = grant.fetch(:name)
        @access = grant.fetch(:access)
      end

      attr_reader :name, :access
    end
  end
end