lib/crunchbase/competitor.rb in crunchbase_v2-0.0.6 vs lib/crunchbase/competitor.rb in crunchbase_v2-0.0.7
- old
+ new
@@ -2,10 +2,11 @@
# http://api.crunchbase.com/v/2/organization/facebook/competitors
module Crunchbase
class Competitor < CBEntity
+
RESOURCE_LIST = 'competitors'
attr_reader :type_name, :name, :last_name, :path, :permalink, :title, :started_on, :ended_on,
:created_at, :updated_at
@@ -20,7 +21,6 @@
@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