Class: TableSync::Publishing::Params::Raw

Inherits:
Batch
  • Object
show all
Defined in:
lib/table_sync/publishing/params/raw.rb

Instance Attribute Summary collapse

Attributes inherited from Batch

#custom_version, #event, #headers, #original_attributes, #routing_key

Instance Method Summary collapse

Methods inherited from Batch

#message, #publish_later, #publish_now

Constructor Details

#initialize(attrs = {}) ⇒ Raw

Returns a new instance of Raw.



9
10
11
12
# File 'lib/table_sync/publishing/params/raw.rb', line 9

def initialize(attrs = {})
  super
  self.model_name = attrs[:model_name]
end

Instance Attribute Details

#model_nameObject Also known as: object_class

Returns the value of attribute model_name.



5
6
7
# File 'lib/table_sync/publishing/params/raw.rb', line 5

def model_name
  @model_name
end