Sha256: 82e14211002fe84a4f483206d2d17f557ba358bf16a1ab1a657e252bc9dff5b5

Contents?: true

Size: 422 Bytes

Versions: 8

Compression:

Stored size: 422 Bytes

Contents

module Kms
  class SearchItem
    include Liquor::Dropable
    include Liquor::External
    attr_reader :title, :content, :link
    def initialize opts
      @title = opts[:title]
      @link = opts[:link]
      @content = opts[:content]
    end

    export :link
    export :title
    export :content

    def link
      @link
    end

    def title
      @title
    end

    def content
      @content
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kms-0.9.0 lib/kms/search_item.rb
kms-0.8.0 lib/kms/search_item.rb
kms-0.7.0 lib/kms/search_item.rb
kms-0.6.0 lib/kms/search_item.rb
kms-0.5.0 lib/kms/search_item.rb
kms-0.4.2 lib/kms/search_item.rb
kms-0.4.1 lib/kms/search_item.rb
kms-0.4.0 lib/kms/search_item.rb