lib/crunchbase/image.rb in crunchbase_v2-0.0.6 vs lib/crunchbase/image.rb in crunchbase_v2-0.0.7

- old
+ new

@@ -2,10 +2,11 @@ # http://api.crunchbase.com/v/2/organization/facebook/images module Crunchbase class Image < CBEntity + RESOURCE_NAME = 'image' RESOURCE_LIST = 'images' attr_reader :type_name, :title, :path, :original_path, :created_at, :updated_at @@ -15,7 +16,8 @@ @original_path = json['path'] @path = json['path'] && Crunchbase::API.image_url + json['path'] @created_at = Time.at(json['created_at']).utc @updated_at = Time.at(json['updated_at']).utc end + end end \ No newline at end of file