Sha256: 21a3204f5628d641372e197f4aae167efa541a57eddcb6deafcdf747fe45e2c8

Contents?: true

Size: 333 Bytes

Versions: 19

Compression:

Stored size: 333 Bytes

Contents

module Vpsb
  module Resources
    class DbPostgresqlBagsJson < BaseResource
      res :db_postgresql_bags_json

      def call(data)
        template(data)
      end

      private

      def template(data)
        {
          id: "postgresql",
          postgresql: data.get(:db_postgres_pass)
        }
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
vpsb-1.1.8 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.1.7 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.1.6 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.1.5 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.1.4 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.1.3 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.1.2 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.1.1 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.1.0 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.0.9 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.0.8 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.0.7 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.0.6 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.0.5 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.0.4 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.0.3 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.0.2 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.0.1 lib/vpsb/resources/db_postgresql_bags_json.rb
vpsb-1.0.0 lib/vpsb/resources/db_postgresql_bags_json.rb