Module: Neo4j::Core::CypherSession::Adaptors::HasUri
- Extended by:
- ActiveSupport::Concern
- Included in:
- Bolt, Driver, Neo4j::Core::CypherSession::Adaptors::HTTP::Requestor
- Defined in:
- lib/neo4j/core/cypher_session/adaptors/has_uri.rb
Overview
Containing the logic for dealing with adaptors which use URIs
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#url ⇒ Object
44 45 46 |
# File 'lib/neo4j/core/cypher_session/adaptors/has_uri.rb', line 44 def url @uri.to_s end |
#url=(url) ⇒ Object
48 49 50 |
# File 'lib/neo4j/core/cypher_session/adaptors/has_uri.rb', line 48 def url=(url) @uri = self.class.uri_from_url!(url) end |
#url_without_password ⇒ Object
52 53 54 |
# File 'lib/neo4j/core/cypher_session/adaptors/has_uri.rb', line 52 def url_without_password @url_without_password ||= "#{scheme}://#{user + ':...@' if user}#{host}:#{port}" end |