Sha256: 126122dfb422d0fbd9557506d36691d098e912b7840ed0735c82c0aa741e627e

Contents?: true

Size: 385 Bytes

Versions: 11

Compression:

Stored size: 385 Bytes

Contents

module ACTV
  class AssetImage < Base
    attr_reader :imageUrlAdr, :imageName, :imageType, :imageCaptionTxt, :linkUrl, :linkTarget

    alias url     imageUrlAdr
    alias name    imageName
    alias type    imageType
    alias caption imageCaptionTxt
    alias link    linkUrl
    alias target  linkTarget

    def video?
      target == "VIDEO" || type == "VIDEO"
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
actv-2.7.0 lib/actv/asset_image.rb
actv-2.6.0 lib/actv/asset_image.rb
actv-2.5.2 lib/actv/asset_image.rb
actv-2.5.1 lib/actv/asset_image.rb
actv-2.5.0 lib/actv/asset_image.rb
actv-2.4.0 lib/actv/asset_image.rb
actv-2.3.0 lib/actv/asset_image.rb
actv-2.2.1 lib/actv/asset_image.rb
actv-2.2.0 lib/actv/asset_image.rb
actv-2.1.1 lib/actv/asset_image.rb
actv-2.1.0 lib/actv/asset_image.rb