class PipedriveRuby::Base

responsable for interface all resources with PipedriveClient

Attributes

base_url[R]
client[R]
endpoints[R]

Public Class Methods

new(pipedrive_client) click to toggle source
# File lib/resources/base.rb, line 8
def initialize(pipedrive_client)
    class_name = self.class.name
    @client = pipedrive_client
    @endpoints = PipedriveRuby::HttpFactory.new(class_name, @client)
end