Class: DaggerRuby::CacheVolume

Inherits:
DaggerObject show all
Defined in:
lib/dagger_ruby/cache_volume.rb

Instance Attribute Summary

Attributes inherited from DaggerObject

#client, #query_builder

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from DaggerObject

#chain_operation, from_id, #id, #initialize

Constructor Details

This class inherits a constructor from DaggerRuby::DaggerObject

Class Method Details

.root_field_nameObject



7
8
9
# File 'lib/dagger_ruby/cache_volume.rb', line 7

def self.root_field_name
  "cacheVolume"
end

Instance Method Details

#syncObject



11
12
13
14
# File 'lib/dagger_ruby/cache_volume.rb', line 11

def sync
  get_scalar("id") # Force execution by getting ID
  self
end