Sha256: 90d268f7f26be6404f07fe756f29d34286f9fa31dd4b0ca0fcab8685c42fc67f

Contents?: true

Size: 464 Bytes

Versions: 3

Compression:

Stored size: 464 Bytes

Contents

module PipedriveRuby
  # responsable for interface all resources with PipedriveClient
    class Base
      extend Forwardable

      attr_reader :client,:endpoints,:base_url

      def initialize(pipedrive_client)
          class_name = self.class.name
          @client = pipedrive_client
          @endpoints = PipedriveRuby::HttpFactory.new(class_name, @client)
      end

      def_delegators :endpoints, :custom_get, :custom_post, :custom_delete

    end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pipedrive_ruby-1.0.2 lib/resources/base.rb
pipedrive_ruby-1.0.1.pre16 lib/resources/base.rb
pipedrive_ruby-1.0.1.pre15 lib/resources/base.rb