lib/amee/v3/connection.rb in amee-3.1.2 vs lib/amee/v3/connection.rb in amee-3.2.0
- old
+ new
@@ -1,9 +1,14 @@
# Copyright (C) 2008-2011 AMEE UK Ltd. - http://www.amee.com
# Released as Open Source Software under the BSD 3-Clause license. See LICENSE.txt for details.
module AMEE
class Connection
+
+ def self.api_version
+ '3'
+ end
+
def v3_connection
@v3_http ||= begin
@v3_http = Net::HTTP.new(v3_hostname, @port)
if @ssl == true
@v3_http.use_ssl = true