Sha256: 5fbfdd3f496b220c8537556a11ea40e2a641cd7a5b38641cdc14dd047cef63a1
Contents?: true
Size: 804 Bytes
Versions: 11
Compression:
Stored size: 804 Bytes
Contents
module Puree module Extractor # Project extractor. # class Project < Puree::Extractor::Resource # @param id [String] # @return [Puree::Model::Project, nil] def find(id) super id: id, api_resource_type: :project, xml_extractor_resource_type: :project end # Count of records available. # # @param params [Hash] Combined GET and POST parameters for all records # @return [Integer] def count(params = {}) record_count :project, params end # Random record. # # @param params [Hash] Combined GET and POST parameters for all records # @return [Puree::Model::Project, nil] def random(params = {}) super :project, params end end end end
Version data entries
11 entries across 11 versions & 1 rubygems