Module: GClouder::Resources::Logging::Sinks::Remote
- Defined in:
- lib/gclouder/resources/logging/sinks.rb
Class Method Summary collapse
Class Method Details
.instances ⇒ Object
73 74 75 76 77 |
# File 'lib/gclouder/resources/logging/sinks.rb', line 73 def self.instances Resources::Remote.instances( path: %w(beta logging sinks) ) end |
.list ⇒ Object
69 70 71 |
# File 'lib/gclouder/resources/logging/sinks.rb', line 69 def self.list { "global" => instances.fetch("global", []).map { |sink| { "name" => sink["sink_id"] } } }.delete_if { |_k, v| v.empty? } end |