Sha256: 986a5876be2ecf304e3a068bef2fde9e979d9d15e7f384c669e53784ed5a3350
Contents?: true
Size: 571 Bytes
Versions: 4
Compression:
Stored size: 571 Bytes
Contents
# encoding: utf-8 # https://api.crunchbase.com/v/2/person/reed-hastings/primary_location module Crunchbase class PrimaryLocation < CBEntity RESOURCE_LIST = 'primary_location' attr_reader :type_name, :name, :uuid, :path, :created_at, :updated_at def initialize(json) @type_name = json['type'] @name = json['name'] @uuid = json['uuid'] @path = 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