File size: 551 Bytes
0f43f8a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@startuml
class LineApi {
  - getLineData()
}

class BlogApi {
  - getBlogImageData(lineData)
}

class DriveService {
  - getDriveService()
  - getFolderById(folderId)
  - createFile(imageData, folder)
}

class ImageService {
  - getImageData(imageUrl)
}

class Script {
  - main()
  - getLineData()
  - getBlogImageData(lineData)
  - saveImageToDrive(imageData)
}

LineApi -> Script: getLineData()
BlogApi -> Script: getBlogImageData(lineData)
DriveService -> Script: saveImageToDrive(imageData)
ImageService -> Script: getImageData(imageUrl)
@enduml