Closed sue445 closed 6 years ago
api_key and access_tokenare depends on class instance variable.
api_key
access_token
All API methods are not thread safe :tired_face:
So I want to fix this.
client = ChatWork.create_client(access_token: user.access_token) client.get_me
All class methods (e.g. ChatWork::Me.get) continue to support
ChatWork::Me.get
api_key
andaccess_token
are depends on class instance variable.All API methods are not thread safe :tired_face:
So I want to fix this.
Features (draft)
Note
All class methods (e.g.
ChatWork::Me.get
) continue to support