Sha256: e8fc74e091a79a29af2661e62d31964de5c4920ae50a501f3e5d561f6407eb50
Contents?: true
Size: 620 Bytes
Versions: 4
Compression:
Stored size: 620 Bytes
Contents
# encoding: utf-8 # https://api.crunchbase.com/v/2/organization/facebook/primary_image module Crunchbase class PrimaryImage < CBEntity RESOURCE_LIST = 'primary_image' attr_reader :type_name, :title, :path, :original_path, :created_at, :updated_at def initialize(json) @type_name = json['type'] @title = json['title'] @original_path = json['path'] @path = json['path'] && (Crunchbase::API.image_url + json['path']) @created_at = Time.at(json['created_at']).utc @updated_at = Time.at(json['updated_at']).utc end end end
Version data entries
4 entries across 4 versions & 1 rubygems