diff --git a/Google-API.package/GaGoogleApiProxy.class/instance/makeRequestTo.usingMethod.with..st b/Google-API.package/GaGoogleApiProxy.class/instance/makeRequestTo.usingMethod.with..st index 897fb71..ad4bc44 100644 --- a/Google-API.package/GaGoogleApiProxy.class/instance/makeRequestTo.usingMethod.with..st +++ b/Google-API.package/GaGoogleApiProxy.class/instance/makeRequestTo.usingMethod.with..st @@ -1,6 +1,6 @@ api makeRequestTo: aUrl usingMethod: httpMethod with: aParamDictionary - | answerSelector req res client returnCode auth content a | + | answerSelector req res client returnCode auth content | session ifNil: [ self error: 'Authenticate API first with #authenticate' ]. @@ -66,7 +66,7 @@ st inspect." auth := self authenticateRefresh. " recreate url with frefreshed tokens and repeat request " - req := a value: aUrl value: ( session accessToken ). + req := self perform: answerSelector with: aUrl with: session accessToken. res := client request: req; execute. diff --git a/Google-API.package/GaGoogleApiProxy.class/methodProperties.json b/Google-API.package/GaGoogleApiProxy.class/methodProperties.json index 552d9d3..78357a6 100644 --- a/Google-API.package/GaGoogleApiProxy.class/methodProperties.json +++ b/Google-API.package/GaGoogleApiProxy.class/methodProperties.json @@ -16,7 +16,7 @@ "id" : "RichardPrinz 5/22/2014 16:36", "id:" : "KazunoriUeda 10/2/2018 15:58", "initialize" : "KazunoriUeda 10/2/2018 17:44", - "makeRequestTo:usingMethod:with:" : "KazunoriUeda 10/2/2018 17:48", + "makeRequestTo:usingMethod:with:" : "KazunoriUeda 10/3/2018 14:48", "methodActions" : "KazunoriUeda 10/2/2018 17:45", "post:token:" : "KazunoriUeda 10/2/2018 17:42", "put:token:" : "KazunoriUeda 10/2/2018 17:42", diff --git a/Google-API.package/monticello.meta/version b/Google-API.package/monticello.meta/version index 12efbe1..ae9934d 100644 --- a/Google-API.package/monticello.meta/version +++ b/Google-API.package/monticello.meta/version @@ -1 +1 @@ -(name 'Google-API-KazunoriUeda.8' message 'empty log message' id 'b2a9f061-37e4-4ebf-814b-3c6abdaa4810' date '2 October 2018' time '5:50:21.872255 pm' author 'KazunoriUeda' ancestors ((name 'Google-API-KazunoriUeda.7' message 'empty log message' id 'dd697465-f631-4d3b-860e-83805e65a0bf' date '2 October 2018' time '4:01:32.079082 pm' author 'KazunoriUeda' ancestors ((name 'Google-API-KazunoriUeda.6' message 'empty log message' id '744a24ed-9cb6-4066-a720-750068fea7bc' date '2 October 2018' time '4:00:24.360053 pm' author 'KazunoriUeda' ancestors ((name 'Google-API-KazunoriUeda.5' message 'empty log message' id '33aef2d1-9655-4449-b2c4-d1a49f31b8de' date '2 October 2018' time '3:59:43.561324 pm' author 'KazunoriUeda' ancestors ((name 'Google-API-KazunoriUeda.3' message 'empty log message' id '89416a47-4fd6-4315-a2b7-ea9332a3db08' date '2 October 2018' time '9:54:42.236345 am' author 'KazunoriUeda' ancestors ((name 'Google-API-KazunoriUeda.2' message 'empty log message' id 'c72b61cb-4e4c-4655-b0a3-f9abac56cd04' date '2 October 2018' time '9:51:58.389512 am' author 'KazunoriUeda' ancestors ((name 'Google-API-RichardPrinz.1' message 'Initial commit' id 'a27b8d83-3b26-5048-9b29-cb603b12b5d3' date '19 March 2015' time '5:35:50.915345 pm' author 'RichardPrinz' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ()) \ No newline at end of file +(name 'Google-API-KazunoriUeda.10' message 'empty log message' id '667a8bd8-29d4-48ad-a502-8287b2045b99' date '4 October 2018' time '8:59:31.63376 am' author 'KazunoriUeda' ancestors ((name 'Google-API-KazunoriUeda.9' message 'empty log message' id 'fdb995a7-3f8e-4c6d-bfcb-7d73cc0fab6f' date '3 October 2018' time '6:02:51.983527 pm' author 'KazunoriUeda' ancestors ((name 'Google-API-KazunoriUeda.8' message 'empty log message' id 'b2a9f061-37e4-4ebf-814b-3c6abdaa4810' date '2 October 2018' time '5:50:21.872255 pm' author 'KazunoriUeda' ancestors ((name 'Google-API-KazunoriUeda.7' message 'empty log message' id 'dd697465-f631-4d3b-860e-83805e65a0bf' date '2 October 2018' time '4:01:32.079082 pm' author 'KazunoriUeda' ancestors ((name 'Google-API-KazunoriUeda.6' message 'empty log message' id '744a24ed-9cb6-4066-a720-750068fea7bc' date '2 October 2018' time '4:00:24.360053 pm' author 'KazunoriUeda' ancestors ((name 'Google-API-KazunoriUeda.5' message 'empty log message' id '33aef2d1-9655-4449-b2c4-d1a49f31b8de' date '2 October 2018' time '3:59:43.561324 pm' author 'KazunoriUeda' ancestors ((name 'Google-API-KazunoriUeda.3' message 'empty log message' id '89416a47-4fd6-4315-a2b7-ea9332a3db08' date '2 October 2018' time '9:54:42.236345 am' author 'KazunoriUeda' ancestors ((name 'Google-API-KazunoriUeda.2' message 'empty log message' id 'c72b61cb-4e4c-4655-b0a3-f9abac56cd04' date '2 October 2018' time '9:51:58.389512 am' author 'KazunoriUeda' ancestors ((name 'Google-API-RichardPrinz.1' message 'Initial commit' id 'a27b8d83-3b26-5048-9b29-cb603b12b5d3' date '19 March 2015' time '5:35:50.915345 pm' author 'RichardPrinz' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ()) \ No newline at end of file