lib/checkr/candidate.rb in checkr-official-1.1.2 vs lib/checkr/candidate.rb in checkr-official-1.2.0
- old
+ new
@@ -19,9 +19,10 @@
attribute :reports, :ReportList, :nested => true
attribute_writer_alias :report_ids, :reports
attribute :geos, APIList.constructor(:Geo)
attribute_writer_alias :geo_ids, :geos
attribute :documents, :DocumentList, :nested => true, :default => {}
+ attribute_writer_alias :document_ids, :documents
api_class_method :all, :get, :constructor => APIList.constructor(:Candidate)
api_class_method :create, :post
api_class_method :retrieve, :get, ":path/:id", :arguments => [:id]