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

Added action type to changeset to accomadate content deletion #337

Merged

Conversation

parthaa
Copy link
Contributor

@parthaa parthaa commented Jul 19, 2012

Added initial bindings to changeset. We may decide to go with the inheritance model
soon, depending on the variations in the backend code.

Added initial bindings to changeset. We may decide to go with the inheritance model
soon, depending on the variations in the backend code.
@ghost ghost assigned bbuckingham Jul 19, 2012
def promotion_set?
self.action_type == PROMOTION
end

Copy link
Member

Choose a reason for hiding this comment

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

why not just:

def deletion?
def promotion?

the _set seems redundant since it is a changeset

@parthaa
Copy link
Contributor Author

parthaa commented Jul 19, 2012

Ok thanks .. Will make these changes

bbuckingham added a commit that referenced this pull request Jul 19, 2012
content-deletion - Added action type to  changeset to accomadate content deletion
@bbuckingham bbuckingham merged commit ae0df9e into Katello:content-deletion Jul 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants