18F/micropurchase

View on GitHub
app/presenters/sam_status_presenter/duns_blank.rb

Summary

Maintainability
A
0 mins
Test Coverage
class SamStatusPresenter::DunsBlank < SamStatusPresenter::Base
  include Rails.application.routes.url_helpers
  include ActionView::Helpers::UrlHelper

  def flash_type
    :warning
  end

  def admin_status_text
    'Needs DUNS'
  end

  def message
    "In order to bid, you must supply a valid DUNS number. Please update
    #{link_to 'your profile', profile_path}"
  end
end