Class: Pipekit::Deal
Instance Method Summary collapse
Methods included from Repository
#all, #create, #find_by, included, #initialize, #update, #where
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Pipekit::Repository
Instance Method Details
#get_by_person_id(person_id) ⇒ Object
5 6 7 |
# File 'lib/pipekit/deal.rb', line 5 def get_by_person_id(person_id) request.get("/#{Pipekit::Person.uri}/#{person_id}/#{self.class.uri}") end |