Class: DaggerRuby::Socket

Inherits:
DaggerObject show all
Defined in:
lib/dagger_ruby/host.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



39
40
41
# File 'lib/dagger_ruby/host.rb', line 39

def self.root_field_name
  "socket"
end

Instance Method Details

#syncObject



43
44
45
46
# File 'lib/dagger_ruby/host.rb', line 43

def sync
  get_scalar("id")
  self
end