Module: Conduit::Core::Connection::ClassMethods
- Defined in:
- lib/conduit/core/connection.rb
Instance Method Summary collapse
-
#remote_url(host = nil) ⇒ Object
Define a remote_url.
Instance Method Details
#remote_url(host = nil) ⇒ Object
Define a remote_url
e.g. remote_url ‘myapi.com/endpoint’
25 26 27 |
# File 'lib/conduit/core/connection.rb', line 25 def remote_url(host = nil) @remote_url ||= host end |