lib/crunchbase/relationship.rb in crunchbase_v2-0.0.6 vs lib/crunchbase/relationship.rb in crunchbase_v2-0.0.7
- old
+ new
@@ -2,9 +2,10 @@
require 'date'
module Crunchbase
class Relationship < CBEntity
+
attr_reader :name, :type_name, :path, :permalink, :created_at, :updated_at, :announced_on
def initialize(hash)
@type_name = hash["type"]
@announced_on = hash["announced_on"] && DateTime.parse(hash["announced_on"])