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.10.9 lib/actv/popular_interest.rb
actv-2.10.8 lib/actv/popular_interest.rb
actv-2.10.7 lib/actv/popular_interest.rb
actv-2.10.6 lib/actv/popular_interest.rb
actv-2.10.5 lib/actv/popular_interest.rb
actv-2.10.4 lib/actv/popular_interest.rb
actv-2.10.3 lib/actv/popular_interest.rb
actv-2.10.2 lib/actv/popular_interest.rb
actv-2.10.1 lib/actv/popular_interest.rb
actv-2.10.0 lib/actv/popular_interest.rb
actv-2.9.2 lib/actv/popular_interest.rb
actv-2.9.1 lib/actv/popular_interest.rb
actv-2.9.0 lib/actv/popular_interest.rb
actv-2.8.2 lib/actv/popular_interest.rb
actv-2.8.1 lib/actv/popular_interest.rb
actv-2.7.0 lib/actv/popular_interest.rb
actv-2.6.0 lib/actv/popular_interest.rb
actv-2.5.2 lib/actv/popular_interest.rb
actv-2.5.1 lib/actv/popular_interest.rb
actv-2.5.0 lib/actv/popular_interest.rb