Sha256: 37d8222af3b50cbc9ea728d4d2d4a1d173464f2dffb4fffe97439f9418b9a888
Contents?: true
Size: 614 Bytes
Versions: 8
Compression:
Stored size: 614 Bytes
Contents
# encoding: utf-8 # https://api.crunchbase.com/v/2/person/#{permalink}/founded_companies module Crunchbase class FoundedCompany < CBEntity RESOURCE_LIST = 'founded_companies' attr_reader :type_name, :name, :path, :permalink, :created_at, :updated_at def initialize(json) @type_name = json['type'] @name = json['name'] @path = json['path'] @permalink = json['path'] && json['path'].gsub('organization/', '') @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