Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Workflow associations and remove Task #22

Merged
merged 7 commits into from
May 30, 2016

Conversation

jessejanderson
Copy link
Collaborator

No description provided.

@@ -56,7 +56,7 @@ defmodule PcoApi.People.Workflow.Card.Activity do

## Example:

iex> %PcoApi.Record{type: "WorkflowCard", id: 1, links: %{"self" => "http://example.com"}} |> Address.get(2)
iex> %PcoApi.Record{type: "WorkflowCard", id: 1, links: %{"self" => "http://example.com"}} |> Note.get(2)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be Activity.get(2)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops!

@@ -56,7 +56,7 @@ defmodule PcoApi.People.Workflow.Card.Activity do

## Example:

iex> %PcoApi.Record{type: "WorkflowCard", id: 1, links: %{"self" => "http://example.com"}} |> Address.get(2)
iex> %PcoApi.Record{type: "WorkflowCard", id: 1, links: %{"self" => "http://example.com"}} |> Activity.get(2)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's be explicit about the module name in the docs. So Activity would become Workflow.Card.Activity.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yah good idea.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not PcoApi.People.Workflow.Card.Activity?

@geolessel
Copy link
Owner

Just a suggestion for inline docs naming as we might eventually have a naming collision. Other than that, 👍. Awesome work!

@jessejanderson jessejanderson merged commit 8fe8f99 into master May 30, 2016
@jessejanderson jessejanderson deleted the ja/adding-more-modules branch May 30, 2016 00:34
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.

None yet

2 participants