Class: TableSync::Publishing::Params::Raw
- Defined in:
- lib/table_sync/publishing/params/raw.rb
Instance Attribute Summary collapse
-
#model_name ⇒ Object
(also: #object_class)
Returns the value of attribute model_name.
Attributes inherited from Batch
#custom_version, #event, #headers, #original_attributes, #routing_key
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Raw
constructor
A new instance of Raw.
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_name ⇒ Object 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 |