Class: Parse::Core::EmbedManaged::EmbedDirective
- Inherits:
-
Struct
- Object
- Struct
- Parse::Core::EmbedManaged::EmbedDirective
- Defined in:
- lib/parse/model/core/embed_managed.rb
Overview
Frozen value-object capturing one ‘embed` declaration. Stored on the owning class under `embed_directives` and passed to recompute_embedding! from the per-class before_save callback.
Instance Attribute Summary collapse
-
#digest_field ⇒ Object
Returns the value of attribute digest_field.
-
#input_type ⇒ Object
Returns the value of attribute input_type.
-
#into ⇒ Object
Returns the value of attribute into.
-
#provider_name ⇒ Object
Returns the value of attribute provider_name.
-
#sources ⇒ Object
Returns the value of attribute sources.
Instance Method Summary collapse
Instance Attribute Details
#digest_field ⇒ Object
Returns the value of attribute digest_field
95 96 97 |
# File 'lib/parse/model/core/embed_managed.rb', line 95 def digest_field @digest_field end |
#input_type ⇒ Object
Returns the value of attribute input_type
95 96 97 |
# File 'lib/parse/model/core/embed_managed.rb', line 95 def input_type @input_type end |
#into ⇒ Object
Returns the value of attribute into
95 96 97 |
# File 'lib/parse/model/core/embed_managed.rb', line 95 def into @into end |
#provider_name ⇒ Object
Returns the value of attribute provider_name
95 96 97 |
# File 'lib/parse/model/core/embed_managed.rb', line 95 def provider_name @provider_name end |
#sources ⇒ Object
Returns the value of attribute sources
95 96 97 |
# File 'lib/parse/model/core/embed_managed.rb', line 95 def sources @sources end |
Instance Method Details
#freeze ⇒ Object
99 100 101 102 |
# File 'lib/parse/model/core/embed_managed.rb', line 99 def freeze sources.freeze super end |