Class: Pipedrive

Inherits:
Object
  • Object
show all
Defined in:
lib/pipedrive_jetrockets.rb

Class Method Summary collapse

Class Method Details

.deal_fieldsObject



17
18
19
# File 'lib/pipedrive_jetrockets.rb', line 17

def self.deal_fields
  @@deal_fields_service ||= PipedriveJetrockets::FieldService.new('dealField')
end

.dealsObject



13
14
15
# File 'lib/pipedrive_jetrockets.rb', line 13

def self.deals
  @@deals_service ||= PipedriveJetrockets::Service.new('deal')
end

.notesObject



21
22
23
# File 'lib/pipedrive_jetrockets.rb', line 21

def self.notes
  @@notes_service ||= PipedriveJetrockets::Service.new('note')
end

.organization_fieldsObject



29
30
31
# File 'lib/pipedrive_jetrockets.rb', line 29

def self.organization_fields
  @@organization_fields ||= PipedriveJetrockets::FieldService.new('organizationField')
end

.organizationsObject



25
26
27
# File 'lib/pipedrive_jetrockets.rb', line 25

def self.organizations
  @@organizations_service ||= PipedriveJetrockets::Service.new('organization')
end

.person_fieldsObject



37
38
39
# File 'lib/pipedrive_jetrockets.rb', line 37

def self.person_fields
  @@person_fields ||= PipedriveJetrockets::FieldService.new('personField')
end

.personsObject



33
34
35
# File 'lib/pipedrive_jetrockets.rb', line 33

def self.persons
  @@persons_service ||= PipedriveJetrockets::PersonService.new('person')
end

.pipelinesObject



41
42
43
# File 'lib/pipedrive_jetrockets.rb', line 41

def self.pipelines
  @@pipelines_service ||= PipedriveJetrockets::Service.new('pipeline')
end

.stagesObject



45
46
47
# File 'lib/pipedrive_jetrockets.rb', line 45

def self.stages
  @@stages_service ||= PipedriveJetrockets::Service.new('stage')
end