Class: LucidWorks::Datasource::History
- Defined in:
- lib/lucid_works/datasource/history.rb
Constant Summary
Constants included from Utils::BoolConverter
Utils::BoolConverter::FALSE_VALUES, Utils::BoolConverter::TRUE_VALUES
Instance Attribute Summary
Attributes inherited from Base
#attributes, #id, #parent, #persisted, #raw_response, #response_data
Instance Method Summary collapse
Methods inherited from Base
all, #collection_url, collection_url, create, #destroy, extract_parent_from_options, find, first, human_attribute_value, #human_attribute_value, #initialize, #inspect, last, #member_url, #persisted?, #read_attribute_for_validation, #save, schema, singleton_name, to_select, #update_attributes
Methods included from SimpleNaming
Methods included from Utils::BoolConverter
Constructor Details
This class inherits a constructor from LucidWorks::Base
Instance Method Details
#doc_count ⇒ Object
12 13 14 |
# File 'lib/lucid_works/datasource/history.rb', line 12 def doc_count num_updated + num_new + num_unchanged end |
#duration ⇒ Object
16 17 18 |
# File 'lib/lucid_works/datasource/history.rb', line 16 def duration crawl_stopped - crawl_started end |