Sha256: 8522a32b9e22cec9d6b778e2389cc18597dda88c58e42efce6b9f35b17f743a0

Contents?: true

Size: 368 Bytes

Versions: 5

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

require 'csv'
require_relative 'model'

class Db
  def fetch_shared_credentials
    fetch_view('shared_credential_view') do |row|
      SharedCredential.from_csv(row)
    end
  end

  def fetch_cyberark_shared_credentials(_country_code)
    credentials = fetch_shared_credentials
    credentials.select do |credential|
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
avs-0.1.3 lib/domain/shared_credential/db.rb
avs-0.1.2 lib/domain/shared_credential/db.rb
avs-0.1.1 lib/domain/shared_credential/db.rb
avs-0.1.0 lib/domain/shared_credential/db.rb
avs-0.0.9 lib/domain/shared_credential/db.rb