Skip to content

Commit c92c1c0

Browse files
authored
Merge pull request #3 from jvelilla/eg_sheets
Updated gitignore and test_sheets_apis.
2 parents d5a2a6a + bd1f290 commit c92c1c0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ EIFGENs
44

55
system.log
66
token.access
7+
credentials.json

sheets/test/test_sheets_api.e

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ feature -- {NONE}
1818
make
1919
do
2020
logger.write_information ("make-> ======================> Starting application")
21-
set_from_json_credentials_file_path (create {PATH}.make_from_string ("/home/pg/tmp/eg-sheets/eg-sheets_credentials_eg-suite-desktop-api.json"))
21+
set_from_json_credentials_file_path (create {PATH}.make_from_string (CREDENTIALS_PATH))
2222
retrieve_access_token
2323
test_get_sheet ("1v1N4nRa6mmLcP9rUuyQPiCnLuUcBQFDEC7E0CDg3ASI")
2424
end
@@ -103,4 +103,9 @@ feature -- Tests
103103
create l_esapi.make (last_token.token)
104104
end
105105

106+
107+
feature {NONE} -- Implementations
108+
109+
CREDENTIALS_PATH: STRING="credentials.json"
110+
-- Credentials path to json file.
106111
end

0 commit comments

Comments
 (0)