Method: Dry::Credentials::YAML#inject_into

Defined in:
lib/dry/credentials/yaml.rb

#inject_into(object) ⇒ Array

Define readers for the first level of the credentials on the given object.

Parameters:

  • object (Object)

    to inject the methods into

Returns:

  • (Array)

    injected methods



21
22
23
# File 'lib/dry/credentials/yaml.rb', line 21

def inject_into(object)
  Query.new(@hash).send(:inject_into, object)
end