summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/DataModels/step.ts
diff options
context:
space:
mode:
authorschencej <55326070+schencej@users.noreply.github.com>2019-12-02 16:46:52 -0500
committerGitHub <noreply@github.com>2019-12-02 16:46:52 -0500
commitcafe1b4fd3cc02554f44ffbaa8467d867a6838cb (patch)
tree3240e099653b60e08b762f814efdc65ea27c9b3b /recipeBuddy/src/app/DataModels/step.ts
parentd854dedd5297aaa7901fc2b2b304c8b160830836 (diff)
parente3340c8df1892356ecf58116db9e910662554eed (diff)
Merge pull request #11 from tuckerevans/api_json=recipe_object
Api json and recipe object
Diffstat (limited to 'recipeBuddy/src/app/DataModels/step.ts')
-rw-r--r--recipeBuddy/src/app/DataModels/step.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipeBuddy/src/app/DataModels/step.ts b/recipeBuddy/src/app/DataModels/step.ts
new file mode 100644
index 0000000..674a6df
--- /dev/null
+++ b/recipeBuddy/src/app/DataModels/step.ts
@@ -0,0 +1,18 @@
+export class Steps {
+ private instruction: string;
+ private timer: number;
+
+ public contructor(instruction: string, timer: number) {
+ this.instruction = instruction;
+ this.timer = timer;
+ }
+
+ public getInstruction(): string {
+ return this.instruction;
+ }
+
+ public getTimer(): number {
+ return this.timer;
+ }
+
+}