Sha256: c81051d34c878f37d50ccd8109063c322102067602e18dbf9ae0eadb93e56279
Contents?: true
Size: 715 Bytes
Versions: 13
Compression:
Stored size: 715 Bytes
Contents
# encoding: utf-8 module Crunchbase class Location < CBEntity RESOURCE_NAME = 'location' RESOURCE_LIST = 'locations' attr_reader :location_type, :name, :path, :parent_location_uuid, :uuid, :type_name, :created_at, :updated_at def initialize(json) @location_type = json['location_type'] @name = json['name'] @path = json['path'] @parent_location_uuid = json['parent_location_uuid'] @uuid = json['uuid'] @type_name = json['type'] @created_at = Time.at(json['created_at']).utc @updated_at = Time.at(json['updated_at']).utc end end end
Version data entries
13 entries across 13 versions & 1 rubygems