Module: Materialist::Materializer::Internals::ClassMethods

Defined in:
lib/materialist/materializer/internals/class_methods.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#__materialist_dsl_mapping_stackObject (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_optionsObject (readonly)

Returns the value of attribute __materialist_options.



5
6
7
# File 'lib/materialist/materializer/internals/class_methods.rb', line 5

def __materialist_options
  @__materialist_options
end

Instance Method Details

#_sidekiq_optionsObject



11
12
13
# File 'lib/materialist/materializer/internals/class_methods.rb', line 11

def _sidekiq_options
  __materialist_options[: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, *options)
  Materializer.new(url, self, *options).perform(action)
end