Sha256: 7752ed653bb8aff45b0de6572f57f642120f778032becf04d20ea0fe9f5ebffc

Contents?: true

Size: 1.06 KB

Versions: 6

Compression:

Stored size: 1.06 KB

Contents

Rhoconnect.configure do |config|
  # Rhconnect.configure is used to set the url and token to your rhoconnect instance.
  # If you are connecting to a rhconnect instance provisioned from Heroku the uri and token are already defined.  Just leave commented out.
  
  #config.uri          = "http://myrhoconnect-server.com"
  #config.token        = "secrettoken"
  
  # app_endpoint is the url of this rails app.  It is used to tell the rhoconnect instance where this rails app is located.  A rest call is sent on the startup of this rails app
  # which will set the rhoconnect instance to point to this rails app.
  # If you do not define app_endpoint, you will have to set this variable manually using the rhoconnect console.
  
  #config.app_endpoint = "http://myapp.heroku.com"
  
  # authenticate allows you to define your own custom authentication.  credentials is a hash = {:login => login, :password => password}.  Leave commented out or return true if you do not wish to authenticate yourself.
  
  #config.authenticate = lambda { |credentials|
  #        return true
  #}
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rhoconnect-rb-0.3.2 templates/rhoconnect.rb
rhoconnect-rb-0.3.1 templates/rhoconnect.rb
rhoconnect-rb-0.3.0 templates/rhoconnect.rb
rhoconnect-rb-0.2.9 templates/rhoconnect.rb
rhoconnect-rb-0.2.8 templates/rhoconnect.rb
rhoconnect-rb-0.2.7 templates/rhoconnect.rb