Sha256: 041acc89d862fc480f32f337fcac8d43b451e0eed9a314298b83936d12fe71b5

Contents?: true

Size: 796 Bytes

Versions: 6

Compression:

Stored size: 796 Bytes

Contents

require "bubbles/version"
require 'bubbles/config'
require 'base64'
require 'bubbles/rest_client_resources'
require 'bubbles/rest_environment'
require 'bubbles/version'
# require 'exceptions'
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
      @packageName = Bubbles::VersionInformation.package_name
      @versionName = Bubbles::VersionInformation.version_name
      @versionCode = Bubbles::VersionInformation.version_code
    end

    def get_version_info
      {
        :name => @packageName,
        :versionName => @versionName,
        :versionCode => @versionCode
      }
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bubbles-rest-client-0.4.1 lib/bubbles.rb
bubbles-rest-client-0.3.1 lib/bubbles.rb
bubbles-rest-client-0.3.0 lib/bubbles.rb
bubbles-rest-client-0.2.0 lib/bubbles.rb
bubbles-rest-client-0.1.0 lib/bubbles.rb
bubbles-rest-client-0.0.8 lib/bubbles.rb