summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/DataModels/steps.ts
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-12-02 16:43:43 -0500
committerGitHub <noreply@github.com>2019-12-02 16:43:43 -0500
commite3340c8df1892356ecf58116db9e910662554eed (patch)
tree3240e099653b60e08b762f814efdc65ea27c9b3b /recipeBuddy/src/app/DataModels/steps.ts
parentba3fc1b1ec14035009cbfc642e04fbf1034ce735 (diff)
parentd854dedd5297aaa7901fc2b2b304c8b160830836 (diff)
Merge branch 'master' into api_json=recipe_object
Diffstat (limited to 'recipeBuddy/src/app/DataModels/steps.ts')
-rw-r--r--recipeBuddy/src/app/DataModels/steps.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipeBuddy/src/app/DataModels/steps.ts b/recipeBuddy/src/app/DataModels/steps.ts
new file mode 100644
index 0000000..9061dc2
--- /dev/null
+++ b/recipeBuddy/src/app/DataModels/steps.ts
@@ -0,0 +1,18 @@
+export class Steps {
+ private instructions: string[];
+ private timers: number[];
+
+ public contructor(instructions: string[], timers: number[]) {
+ this.instructions = instructions;
+ this.timers = timers;
+ }
+
+ public getInstructions(): string[] {
+ return this.instructions;
+ }
+
+ public getTimers(): number[] {
+ return this.timers;
+ }
+
+}