Sha256: 29cffc7c3dd5929da7f619d5c3c5e06ac1d9abbef4ec81549f0862c74f2faa4c

Contents?: true

Size: 829 Bytes

Versions: 15

Compression:

Stored size: 829 Bytes

Contents

module Vzaar
  module Resource
    class VideoCollectionItem < Base
      root_node "//video"

      attribute :id, type: Integer
      attribute :status
      attribute :status_id, type: Integer
      attribute :title
      attribute :description
      attribute :created_at, type: Time
      attribute :url
      attribute :play_count, type: Integer
      attribute :user_name, field: :author_name, node: :user
      attribute :user_url, field: :author_url, node: :user
      attribute :user_account_type_id, field: :author_account, node: :user, type: Integer
      attribute :video_count, node: :user, type: Integer
      attribute :duration, type: Integer
      attribute :height, type: Integer
      attribute :width, type: Integer
      attribute :thumbnail_url
      attribute :total_size, type: Integer
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
vzaar-1.6.2 lib/vzaar/resources/video_collection_item.rb
vzaar-1.6.1 lib/vzaar/resources/video_collection_item.rb
vzaar-1.6.0 lib/vzaar/resources/video_collection_item.rb
vzaar-1.5.3 lib/vzaar/resources/video_collection_item.rb
vzaar-1.5.2 lib/vzaar/resources/video_collection_item.rb
vzaar-1.5.1 lib/vzaar/resources/video_collection_item.rb
vzaar-1.5.0 lib/vzaar/resources/video_collection_item.rb
vzaar-1.4.4 lib/vzaar/resources/video_collection_item.rb
vzaar-1.4.1 lib/vzaar/resources/video_collection_item.rb
vzaar-1.3.1 lib/vzaar/resources/video_collection_item.rb
vzaar-1.3.0 lib/vzaar/resources/video_collection_item.rb
vzaar-1.2.4 lib/vzaar/resources/video_collection_item.rb
vzaar-1.2.3 lib/vzaar/resources/video_collection_item.rb
vzaar-1.2.2 lib/vzaar/resources/video_collection_item.rb
vzaar-1.0.0 lib/vzaar/resources/video_collection_item.rb