Class: EySecrets::InstanceResolver

Inherits:
Struct
  • Object
show all
Defined in:
lib/ey_secrets/instance_resolver.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#applicationsObject

Returns the value of attribute applications

Returns:

  • (Object)

    the current value of applications



2
3
4
# File 'lib/ey_secrets/instance_resolver.rb', line 2

def applications
  @applications
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



2
3
4
# File 'lib/ey_secrets/instance_resolver.rb', line 2

def options
  @options
end

Class Method Details

.find!(applications, options) ⇒ Object



3
4
5
# File 'lib/ey_secrets/instance_resolver.rb', line 3

def self.find!(applications, options)
  new(applications, options).find!
end

Instance Method Details

#find!Object



7
8
9
# File 'lib/ey_secrets/instance_resolver.rb', line 7

def find!
  find_environment!.instances
end