lib/checkr/candidate.rb in checkr-official-1.0.2 vs lib/checkr/candidate.rb in checkr-official-1.1.0
- old
+ new
@@ -24,9 +24,11 @@
api_class_method :all, :get, :constructor => APIList.constructor(:Candidate)
api_class_method :create, :post
api_class_method :retrieve, :get, ":path/:id", :arguments => [:id]
+ api_instance_method :save, :post, :default_params => :changed_attributes
+
def self.path
"/v1/candidates"
end
APIClass.register_subclass(self, "candidate")