Sha256: 002c17658fa003a5d1f1e1e12a6310dc04e11ed9be88efefd791d9bd4ae1df6c
Contents?: true
Size: 449 Bytes
Versions: 8
Compression:
Stored size: 449 Bytes
Contents
# encoding: utf-8 # https://api.crunchbase.com/v/2/person/{permalink}/videos module Crunchbase class Video < CBEntity RESOURCE_LIST = 'videos' attr_reader :type_name, :title, :created_at, :updated_at def initialize(json) @type_name = json['type'] @title = json['title'] @created_at = Time.at(json['created_at']).utc @updated_at = Time.at(json['updated_at']).utc end end end
Version data entries
8 entries across 8 versions & 1 rubygems