Closed macMikey closed 4 years ago
in this context, unlike merggoole, it seems like there isn't any point to trying to keep the sheets separate. then again, there was a regex for getting a sheet id.
maybe another way to do this would be:
passing a pointer to update comms might help
It seems that we should maybe do the following:
since comms doesn't have any properties, by extending it we don't need to do anything else per se We then pass the auth object to every spreadsheet object, and we can then refer to the auth properties because the object is a pointer. The comms functions are automagically incorporated by reference, like a submodule, and thus we just call the functions When we need auth, we just use the auth properties, which are incorporated.
v. 0.0.0.4 0b24a992e1e6a5fd35ac1940d7f3409f35b91018
especially because we can embed objects in other objects after the fact, the main thing we're missing will be access to being able to call the functions within the objects. we have some potential issues w/ inheritence b/c tokens will expire and need to be redone for everyone i guess we could have a google session class and then have the spreadsheets inherit from that. obviously sheets would inherit spreadsheets. then we have to work out the calls - now we are instantiating them in effectively reverse order.