lib/hoth/transport.rb in hoth-0.3.0 vs lib/hoth/transport.rb in hoth-0.3.1

- old
+ new

@@ -1,7 +1,8 @@ require 'hoth/transport/base' require 'hoth/transport/http' +require 'hoth/transport/https' require 'hoth/transport/bert' require 'hoth/transport/workling' require 'hoth/encoding/json' require 'hoth/encoding/no_op' @@ -13,9 +14,16 @@ :json_via_http => { :transport_class => Transport::Http, :encoder => Encoding::Json }, :http => :json_via_http, + + :json_via_https => { + :transport_class => Transport::Https, + :encoder => Encoding::Json + }, + :https => :json_via_https, + :workling => { :transport_class => Transport::Workling } } \ No newline at end of file