spec/lcm/integration/support/connection_helper.rb
# Creates connection client to server according to specified enviroment
#
# @param [Symbol] which is either `:dev_server` or `:prod_server`
# @return [GoodData::Rest::Client] connection client to specified server
Creates connection client to server according to specified enviroment
Creates connection client to server according to specified enviroment
def server(which: :dev_server)
      connection_parameters = {
        username: environment[:username],
        password: environment[:password],
        server: "https://#{environment[which]}"
      }
      GoodData.connect(connection_parameters)
    end
def server ( which : :dev_server ) connection_parameters = { username : environment [ :username ] , password : environment [ :password ] , server : "https://#{environment[which]}" } GoodData . connect ( connection_parameters ) end
Creates connection client to server according to specified enviroment
Creates connection client to server according to specified enviroment
connection client to specified server
connection client to specified server
GoodData::Rest::Client
which
which is either `:dev_server` or `:prod_server`
which is either ` : dev_server ` or ` : prod_server `