class Pendulum::DSL::Output::Postgresql

Public Instance Methods

to_url() click to toggle source
# File lib/pendulum/dsl/output/postgresql.rb, line 6
def to_url
  url = "postgresql://#{username_and_password}@#{hostname_and_port}/#{@database}/#{@table}"
  with_options(url, :ssl, :schema, :mode, :method)
end