Class: ShopifyCLI::Theme::Extension::Syncer::Operation
- Inherits:
-
Struct
- Object
- Struct
- ShopifyCLI::Theme::Extension::Syncer::Operation
- Defined in:
- lib/shopify_cli/theme/extension/syncer/operation.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
Returns the value of attribute file.
-
#kind ⇒ Object
Returns the value of attribute kind.
Instance Method Summary collapse
Instance Attribute Details
#file ⇒ Object
Returns the value of attribute file
9 10 11 |
# File 'lib/shopify_cli/theme/extension/syncer/operation.rb', line 9 def file @file end |
#kind ⇒ Object
Returns the value of attribute kind
9 10 11 |
# File 'lib/shopify_cli/theme/extension/syncer/operation.rb', line 9 def kind @kind end |
Instance Method Details
#create? ⇒ Boolean
14 15 16 |
# File 'lib/shopify_cli/theme/extension/syncer/operation.rb', line 14 def create? kind == :create end |
#delete? ⇒ Boolean
10 11 12 |
# File 'lib/shopify_cli/theme/extension/syncer/operation.rb', line 10 def delete? kind == :delete end |