Sha256: d3d36cfac22be5f215eb10c9880c17a74b7eb67dd29932b39bb396fa3298ac15
Contents?: true
Size: 563 Bytes
Versions: 8
Compression:
Stored size: 563 Bytes
Contents
# encoding: utf-8 # https://api.crunchbase.com/v/2/#{classify}/#{permalink}/websites # Type [organization, person] module Crunchbase class Website < CBEntity RESOURCE_NAME = 'website' RESOURCE_LIST = 'websites' attr_reader :url, :type_name, :title, :created_at, :updated_at def initialize(json) @url = json['url'] @type_name = json['type'] @title = json['title'] @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