Sha256: a984b3b379a9489c17c25be090794a756e0456ce1b3b6245b398e9f0ab7f47c5
Contents?: true
Size: 682 Bytes
Versions: 8
Compression:
Stored size: 682 Bytes
Contents
require 'base64' module Appium module Core class Base module Device module FileManagement def push_file(path, filedata) encoded_data = Base64.strict_encode64 filedata execute :push_file, {}, path: path, data: encoded_data end def pull_file(path) data = execute :pull_file, {}, path: path Base64.decode64 data end def pull_folder(path) data = execute :pull_folder, {}, path: path Base64.decode64 data end end # module FileManagement end # module Device end # class Base end # module Core end # module Appium
Version data entries
8 entries across 8 versions & 1 rubygems