Class: LucidWorks::Crawler
Constant Summary
Constants included from Utils::BoolConverter
Utils::BoolConverter::FALSE_VALUES, Utils::BoolConverter::TRUE_VALUES
Instance Attribute Summary collapse
-
#datasource_types ⇒ Object
Returns the value of attribute datasource_types.
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, #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 Attribute Details
#datasource_types ⇒ Object
Returns the value of attribute datasource_types.
9 10 11 |
# File 'lib/lucid_works/crawler.rb', line 9 def datasource_types @datasource_types end |
Instance Method Details
#datasource_type(type) ⇒ Object
17 18 19 |
# File 'lib/lucid_works/crawler.rb', line 17 def datasource_type(type) datasource_types.detect { |t| t.type == type } end |