lib/fir/util.rb in fir-cli-1.0.8 vs lib/fir/util.rb in fir-cli-1.1.0
- old
+ new
@@ -17,11 +17,11 @@
end
module ClassMethods
def fetch_user_info token
- get api[:me_url], token: token
+ get api[:user_url], api_token: token
end
def check_supported_file path
unless File.file?(path) || APP_FILE_TYPE.include?(File.extname(path))
logger.error "File does not exist or unsupported file type"
@@ -38,8 +38,7 @@
def logger_info_dividing_line
logger.info "✈ -------------------------------------------- ✈"
end
end
-
end
end