Class: Pipedrive::Stage

Inherits:
Base
  • Object
show all
Defined in:
lib/pipedrive/stage.rb

Instance Attribute Summary

Attributes inherited from Base

#data

Class Method Summary collapse

Methods inherited from Base

all, authenticate, bad_response, create, destroy, #destroy, find, find_by_name, #initialize, #initialize_related_objects, new_list, resource_path, search, #update

Constructor Details

This class inherits a constructor from Pipedrive::Base

Class Method Details

.deals(id) ⇒ Object


3
4
5
# File 'lib/pipedrive/stage.rb', line 3

def self.deals(id)
  Deal.all(get "#{resource_path}/#{id}/deals", :query => {:everyone => 1})
end