class Precheck::URLItemToCheck
if the data point we want to check is a URL field (like ‘marketing_url’), we’ll use this object to encapsulate it this includes the url, the property name, and what that name maps to in plain english so that we can print out nice, friendly messages.
Attributes
Public Class Methods
Source
# File precheck/lib/precheck/item_to_check.rb, line 49 def initialize(url, item_name, friendly_name, is_optional = false) @url = url super(item_name, friendly_name, is_optional) end
Calls superclass method
Precheck::ItemToCheck::new
Public Instance Methods
Source
# File precheck/lib/precheck/item_to_check.rb, line 54 def item_data return url end