lib/bubbles.rb in bubbles-rest-client-0.4.1 vs lib/bubbles.rb in bubbles-rest-client-0.5.0
- old
+ new
@@ -8,15 +8,13 @@
require 'rest-client'
require 'json'
module Bubbles
class Resources < RestClientResources
- def initialize
- # def initialize(env, api_key)
- # @environment = get_environment env
- # @api_key = api_key
- # @auth_token = nil
+ def initialize(api_key='')
+ super
+
@packageName = Bubbles::VersionInformation.package_name
@versionName = Bubbles::VersionInformation.version_name
@versionCode = Bubbles::VersionInformation.version_code
end
@@ -27,6 +25,5 @@
:versionCode => @versionCode
}
end
end
end
-