Sha256: aac238628f7986dab5a34d78d4726f1a39e4c7a190b2fde52176f13ab5c2714b
Contents?: true
Size: 570 Bytes
Versions: 13
Compression:
Stored size: 570 Bytes
Contents
module PaidUp # PaidUp PaidUp Helper module PaidUpHelper def date_range(start_date, end_date) dates = [] if start_date.present? && (start_date.is_a?(Date) || start_date.is_a?(Integer)) dates << start_date.to_date end if end_date.present? && (end_date.is_a?(Date) || end_date.is_a?(Integer)) dates << end_date.to_date end dates.join('—').html_safe end def paid_up_google_analytics_data_layer render partial: 'paid_up/layouts/google_analytics_data_layer' end end end
Version data entries
13 entries across 13 versions & 1 rubygems