Sha256: 7d913b3c166b3be524f2eb696c9ac2d5eb982702671f90a85ffd124aa2dc9166

Contents?: true

Size: 349 Bytes

Versions: 2

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

require 'csv'
require_relative 'model'

class Db
  def fetch_shared_credentials
    fetch_view('country_view') do |row|
      Country.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

2 entries across 2 versions & 1 rubygems

Version Path
avs-0.1.0 lib/domain/site_target/db.rb
avs-0.0.9 lib/domain/site_target/db.rb