File size: 574 Bytes
df50319
5a32ee0
 
 
 
 
 
 
 
 
 
 
 
df50319
5a32ee0
 
 
 
df50319
 
 
5a32ee0
 
 
 
df50319
 
 
 
5a32ee0
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
@startuml
class LineApi {
  - accessToken: string
  - getAccessToken(): string
}

class Blog {
  - imageUrl: string
  - getImageUrl(): string
}

class GoogleDrive {
  - folderId: string
  - createFile(blob: Blob): File
}

class Script {
  - getLineData(): LineData
  - getBlogImageData(): ImageUrl[]
  - saveImageDataToDrive(ImageUrl[]): void
  - main(): void
}

LineApi -> Script: getAccessToken
Blog -> Script: getImageUrl
GoogleDrive -> Script: createFile
Script -> LineApi: getLineData
Script -> Blog: getBlogImageData
Script -> GoogleDrive: saveImageDataToDrive
@enduml