Skip to content

Commit

Permalink
fix indents
Browse files Browse the repository at this point in the history
  • Loading branch information
suprjinx committed Oct 2, 2024
1 parent 66b5536 commit 3dbd0e8
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions app/lib/clients/vault.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
module Clients
class Vault
class_attribute :token
class_attribute :token

class << self
private
class << self
private

def client
::Vault::Client.new(
address: address,
token: token
)
end
def client
::Vault::Client.new(
address: address,
token: token
)
end

def address
Rails.configuration.astral[:vault_addr]
end
def address
Rails.configuration.astral[:vault_addr]
end

def enable_engine(mount, type)
client.sys.mount(mount, type, "#{type} secrets engine")
end
def enable_engine(mount, type)
client.sys.mount(mount, type, "#{type} secrets engine")
end
end
end

Expand Down

0 comments on commit 3dbd0e8

Please sign in to comment.