Module: Pipedrive

Defined in:
lib/pipedrive-ruby.rb,
lib/pipedrive/base.rb,
lib/pipedrive/deal.rb,
lib/pipedrive/file.rb,
lib/pipedrive/goal.rb,
lib/pipedrive/note.rb,
lib/pipedrive/role.rb,
lib/pipedrive/user.rb,
lib/pipedrive/stage.rb,
lib/pipedrive/filter.rb,
lib/pipedrive/person.rb,
lib/pipedrive/product.rb,
lib/pipedrive/activity.rb,
lib/pipedrive/currency.rb,
lib/pipedrive/pipeline.rb,
lib/pipedrive/deal-field.rb,
lib/pipedrive/organization.rb,
lib/pipedrive/person-field.rb,
lib/pipedrive/user-setting.rb,
lib/pipedrive/activity-type.rb,
lib/pipedrive/authorization.rb,
lib/pipedrive/product-field.rb,
lib/pipedrive/search-result.rb,
lib/pipedrive/permission-set.rb,
lib/pipedrive/user-connection.rb,
lib/pipedrive/push-notification.rb,
lib/pipedrive/organization-field.rb

Defined Under Namespace

Classes: Activity, ActivityType, Authorization, Base, Currency, Deal, DealField, File, Filter, Goal, Note, Organization, OrganizationField, PermissionSet, Person, PersonField, Pipeline, Product, ProductField, PushNotification, Role, SearchResult, Stage, User, UserConnection, UserSetting

Constant Summary collapse

HEADERS =

Globally set request headers

{
  "User-Agent"    => "Ruby.Pipedrive.Api",
  "Accept"        => "application/json",
  "Content-Type"  => "application/x-www-form-urlencoded"
}

Class Method Summary collapse

Class Method Details

.authenticate(token) ⇒ Object



30
31
32
# File 'lib/pipedrive-ruby.rb', line 30

def self.authenticate(token)
  Base.authenticate(token)
end