Module: Materialist::Materializer::Internals::ClassMethods
- Defined in:
- lib/materialist/materializer/internals/class_methods.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.
5 6 7 |
# File 'lib/materialist/materializer/internals/class_methods.rb', line 5 def __materialist_dsl_mapping_stack @__materialist_dsl_mapping_stack end |
#__materialist_options ⇒ Object (readonly)
Returns the value of attribute __materialist_options.
5 6 7 |
# File 'lib/materialist/materializer/internals/class_methods.rb', line 5 def @__materialist_options end |
Instance Method Details
#_sidekiq_options ⇒ Object
11 12 13 |
# File 'lib/materialist/materializer/internals/class_methods.rb', line 11 def [:sidekiq_options] || {} end |
#perform(url, action, *options) ⇒ Object
7 8 9 |
# File 'lib/materialist/materializer/internals/class_methods.rb', line 7 def perform(url, action, *) Materializer.new(url, self, *).perform(action) end |