Module: Materialist::Materializer::Internals::ClassMethods
- Defined in:
- lib/materialist/materializer.rb
Instance Attribute Summary collapse
-
#__materialist_dsl_mapping_stack ⇒ Object
readonly
Returns the value of attribute __materialist_dsl_mapping_stack.
-
#materialist_options ⇒ Object
readonly
Returns the value of attribute materialist_options.
Instance Method Summary collapse
Instance Attribute Details
#__materialist_dsl_mapping_stack ⇒ Object (readonly)
Returns the value of attribute __materialist_dsl_mapping_stack.
36 37 38 |
# File 'lib/materialist/materializer.rb', line 36 def __materialist_dsl_mapping_stack @__materialist_dsl_mapping_stack end |
#materialist_options ⇒ Object (readonly)
Returns the value of attribute materialist_options.
36 37 38 |
# File 'lib/materialist/materializer.rb', line 36 def end |
Instance Method Details
#perform(url, action) ⇒ Object
38 39 40 41 |
# File 'lib/materialist/materializer.rb', line 38 def perform(url, action) materializer = Materializer.new(url, self) action == :delete ? materializer.destroy : materializer.upsert end |