Sha256: 1b4db42e99a461b9734792d7c70c6c9c8e768ad78d44ee473044fdf733e257cb

Contents?: true

Size: 648 Bytes

Versions: 3

Compression:

Stored size: 648 Bytes

Contents

module PipelineDeals
  class Person < PipelineDeals::Resource
    has_many :deals, class_name: PipelineDeals::Deal
    has_many :documents, class_name: PipelineDeals::Document
    has_many :notes, class_name: PipelineDeals::Note
    has_many :calendar_entries, class_name: PipelineDeals::CalendarEntry
    belongs_to :company, class_name: PipelineDeals::Company
    belongs_to :user, class_name: PipelineDeals::User
    belongs_to :lead_source, class_name: PipelineDeals::LeadSource
    belongs_to :lead_status, class_name: PipelineDeals::LeadStatus
    has_many :predfined_contacts_tags, class_name: PipelineDeals::PredefinedContactsTag
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pipeline_deals-0.5.0 lib/pipeline_deals/resources/person.rb
pipeline_deals-0.4.0 lib/pipeline_deals/resources/person.rb
pipeline_deals-0.3.0 lib/pipeline_deals/resources/person.rb