Sha256: 098f959506f599155a9e1d16e2258abbf8f66ca29de6076683f9d68101432fe8

Contents?: true

Size: 200 Bytes

Versions: 9

Compression:

Stored size: 200 Bytes

Contents

module Integral
  # List item which contains external or internal link
  class Link < ListItem
    # Validations
    validates :title, :url, presence: true

    def link?
      true
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
integral-2.0.0 app/models/integral/link.rb
integral-1.5.1 app/models/integral/link.rb
integral-1.5.0 app/models/integral/link.rb
integral-1.4.0 app/models/integral/link.rb
integral-1.3.0 app/models/integral/link.rb
integral-1.2.0 app/models/integral/link.rb
integral-1.1.0 app/models/integral/link.rb
integral-1.0.1 app/models/integral/link.rb
integral-1.0.0 app/models/integral/link.rb