Sha256: 363e099352821f92427bde8ad0f12ca2545ad25cf3b265fa83964d74f0dcd3fb

Contents?: true

Size: 322 Bytes

Versions: 4

Compression:

Stored size: 322 Bytes

Contents

require 'google/api_client'

module PlayTime
  class Apk
    MIME_TYPE = 'application/vnd.android.package-archive'.freeze

    class << self
      def load
        Google::APIClient::UploadIO.new(path, MIME_TYPE)
      end

      private

      def path
        PlayTime.configuration.apk_path
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
play_time-0.1.0 lib/play_time/apk.rb
play_time-0.0.3 lib/play_time/apk.rb
play_time-0.0.2 lib/play_time/apk.rb
play_time-0.0.1 lib/play_time/apk.rb