Sha256: b8214d28af13f4f628c5577a56416e9d791fe07160913f1f49a76837847fdb4b

Contents?: true

Size: 612 Bytes

Versions: 4

Compression:

Stored size: 612 Bytes

Contents

# encoding: utf-8

module Crunchbase::Model
  class FoundedCompany < Crunchbase::Model::Organization

    RESOURCE_LIST = 'founded_companies'

    #
    # 2015-11-03 Removed
    #
    # attr_reader :type, :name, :path, :created_at, :updated_at

    # def initialize(json)
    #   property_keys.each { |v|
    #     instance_variable_set("@#{v}", json[v] || nil)
    #   }

    #   %w[created_at updated_at].each { |v|
    #     instance_variable_set("@#{v}", Time.at(json[v]))
    #   }
    # end

    # def property_keys
    #   %w[
    #     type name path created_at updated_at
    #   ]
    # end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
crunchbase-ruby-library-0.1.7 lib/crunchbase/model/founded_company.rb
crunchbase-ruby-library-0.1.6 lib/crunchbase/model/founded_company.rb
crunchbase-ruby-library-0.1.5 lib/crunchbase/model/founded_company.rb
crunchbase-ruby-library-0.1.4 lib/crunchbase/model/founded_company.rb