lib/pipeline_deals/resources/company.rb in pipeline_deals-0.0.2 vs lib/pipeline_deals/resources/company.rb in pipeline_deals-0.1.0

- old
+ new

@@ -1,7 +1,8 @@ module PipelineDeals - class Person < PipelineDeals::Resource - has_many :deals, :class_name => PipelineDeals::Deal - has_many :people, :class_name => PipelineDeals::Company + class Company < PipelineDeals::Resource + has_many :deals, class_name: PipelineDeals::Deal + has_many :people, class_name: PipelineDeals::Person + has_many :documents, class_name: PipelineDeals::Document end end