Sha256: a87e5eb41c0ac9876c4435f9f8739410d4c3f9581be5ff21bcf0762516271b8c

Contents?: true

Size: 428 Bytes

Versions: 50

Compression:

Stored size: 428 Bytes

Contents

require 'actv/identity'
require 'actv/interest'

module ACTV
  class PopularInterest < ACTV::Identity

    attr_reader :_index, :_type, :_id, :_version, :exists, :_source

    alias index _index
    alias type _type
    alias id _id
    alias version _version

    def interest
      @interest ||= ACTV::Interest.new(@attrs[:_source][:interest]) unless @attrs[:_source].nil? || @attrs[:_source][:interest].nil?
    end
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
actv-2.4.0 lib/actv/popular_interest.rb
actv-2.3.0 lib/actv/popular_interest.rb
actv-2.2.1 lib/actv/popular_interest.rb
actv-2.2.0 lib/actv/popular_interest.rb
actv-2.1.1 lib/actv/popular_interest.rb
actv-2.1.0 lib/actv/popular_interest.rb
actv-2.0.0 lib/actv/popular_interest.rb
actv-1.4.3 lib/actv/popular_interest.rb
actv-1.4.2 lib/actv/popular_interest.rb
actv-1.4.1 lib/actv/popular_interest.rb
actv-1.4.0 lib/actv/popular_interest.rb
actv-1.3.11 lib/actv/popular_interest.rb
actv-1.3.10 lib/actv/popular_interest.rb
actv-1.3.9 lib/actv/popular_interest.rb
actv-1.3.8 lib/actv/popular_interest.rb
actv-1.3.7 lib/actv/popular_interest.rb
actv-1.3.6 lib/actv/popular_interest.rb
actv-1.3.5 lib/actv/popular_interest.rb
actv-1.3.4 lib/actv/popular_interest.rb
actv-1.3.3 lib/actv/popular_interest.rb