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

Adds :safe option to #expose #18

Merged
merged 3 commits into from
Aug 5, 2013
Merged

Adds :safe option to #expose #18

merged 3 commits into from
Aug 5, 2013

Conversation

fixme
Copy link
Contributor

@fixme fixme commented Aug 3, 2013

I suppose that exposing of a non-existent attribute should raise an exception by default and current behavior is incorrect, but it should be available as an option, so I added the :safe option for this purpose.

dblock added a commit that referenced this pull request Aug 5, 2013
@dblock dblock merged commit 1d0f643 into ruby-grape:master Aug 5, 2013
@dblock
Copy link
Member

dblock commented Aug 5, 2013

Thank you, merged.

@Valve
Copy link

Valve commented Aug 6, 2013

👍 Great job

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.

3 participants