Class: DaggerRuby::CacheVolume
Instance Attribute Summary
Attributes inherited from DaggerObject
#client, #query_builder
Class Method Summary
collapse
Instance Method Summary
collapse
#chain_operation, #id, #initialize
Class Method Details
.from_id(id, client) ⇒ Object
7
8
9
10
11
|
# File 'lib/dagger_ruby/cache_volume.rb', line 7
def self.from_id(id, client)
query = QueryBuilder.new("cacheVolume")
query.load_from_id(id)
new(query, client)
end
|
.root_field_name ⇒ Object
13
14
15
|
# File 'lib/dagger_ruby/cache_volume.rb', line 13
def self.root_field_name
"cacheVolume"
end
|
Instance Method Details
#key ⇒ Object
17
18
19
|
# File 'lib/dagger_ruby/cache_volume.rb', line 17
def key
get_scalar("key")
end
|
#sync ⇒ Object
21
22
23
24
|
# File 'lib/dagger_ruby/cache_volume.rb', line 21
def sync
get_scalar("id") self
end
|