Using #from_hash method to create access token