Sha256: 0906ef162b48000c9e06b5b6cb5d52a83ce52a52c4becac2d89e82d278a3a15a

Contents?: true

Size: 682 Bytes

Versions: 1

Compression:

Stored size: 682 Bytes

Contents

# This presenter class provides all data needed by the view that show the list of authorities.
module QaServer
  class AuthorityListPresenter
    def initialize(urls_data:)
      @urls_data = urls_data
    end

    # @return [Array<Hash>] A list of status data for each scenario tested.
    # @example
    #   { status: :PASS,
    #     status_label: '√',
    #     authority_name: 'LOCNAMES_LD4L_CACHE',
    #     subauthority_name: 'person',
    #     service: 'ld4l_cache',
    #     action: 'search',
    #     url: '/qa/search/linked_data/locnames_ld4l_cache/person?q=mark twain&maxRecords=4',
    #     err_message: '' }
    def urls_data
      @urls_data
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
qa_server-0.1.99 app/presenters/qa_server/authority_list_presenter.rb