Module: Pipedrive::Fields

Included in:
Activity, Deal, Note, Organization, Person, Product
Defined in:
lib/pipedrive/fields.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
10
# File 'lib/pipedrive/fields.rb', line 5

def self.included(base)
  class << base
    attr_accessor :fields_url
  end
  base.extend(ClassMethods)
end

Instance Method Details

#fieldsObject



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

def fields
  self.class.fields
end