Sha256: 5654530d816e1466b0b9f190aceaf6aa3072e489d3059429522aff6c6abb1785
Contents?: true
Size: 539 Bytes
Versions: 10
Compression:
Stored size: 539 Bytes
Contents
module Libis module Services module RosettaDb class Client require 'libis/services/oracle_client' attr_accessor :url, :user, :password def initialize(url, user, password) @url = url @user = user @password = password end def connect @oracle = OracleClient.new(@url, @user, @password) end def set_schema(schema) @oracle.execute("alter session set current_schema = #{schema}") end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems