Sha256: a85be60cda3d0bb086c3cd559983cf3148916ee7cdc500e29b02509daf6855de
Contents?: true
Size: 827 Bytes
Versions: 8
Compression:
Stored size: 827 Bytes
Contents
# encoding: utf-8 # https://api.crunchbase.com/v/2/person/#{permalink}/experience?user_key=key module Crunchbase class Experience < CBEntity RESOURCE_LIST = 'experience' attr_reader :organization_name, :organization_path, :organization_permalink, :title, :started_on, :ended_on def initialize(json) @organization_name = json['organization_name'] @organization_permalink = (json['organization_path'] && json['organization_path'].gsub('organization/', '') || nil) @organization_path = json['organization_path'] @title = json['title'] @started_on = (json['started_on'] && json['started_on'].to_datetime.utc || nil) @ended_on = (json['ended_on'] && json['ended_on'].to_datetime.utc || nil) end end end
Version data entries
8 entries across 8 versions & 1 rubygems