Method: CleanModel::Remote::ClassMethods#connection
- Defined in:
- lib/clean_model/remote.rb
#connection(connection = nil) ⇒ Object
12 13 14 |
# File 'lib/clean_model/remote.rb', line 12 def connection(connection=nil) connection ? @connection = WebClient::Connection.new(connection) : @connection end |