Class: PipedriveRuby::Authorizations

Inherits:
Base
  • Object
show all
Defined in:
lib/resources/authorizations.rb

Overview

Returns all authorizations for a particular user. Authorization objects contain the API tokens the user has with different company accounts in Pipedrive. These can be fetched without an API token but using the email and password of the user.

Instance Attribute Summary

Attributes inherited from Base

#base_url, #client, #endpoints

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from PipedriveRuby::Base

Instance Method Details

#all(authorization) ⇒ Object



9
10
11
# File 'lib/resources/authorizations.rb', line 9

def all(authorization)
  create(authorization)
end