Skip to content

Introduce cat and breed model objects#1

Open
stevecass wants to merge 5 commits intomasterfrom
factor-model
Open

Introduce cat and breed model objects#1
stevecass wants to merge 5 commits intomasterfrom
factor-model

Conversation

@stevecass
Copy link
Contributor

Instead of having the controller load "dumb" json, here we use a factory to create a Cat "class" that knows how to retrieve cats from the server. We also add a simple getAge "method" to our cat.

@stevecass stevecass changed the title Introduce a cat model object Introduce cat and breed model objects Jan 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant