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 expose SYMBOL, HASH BLOCK #16

Merged
merged 3 commits into from
Aug 8, 2013
Merged

Add expose SYMBOL, HASH BLOCK #16

merged 3 commits into from
Aug 8, 2013

Conversation

fahchen
Copy link
Contributor

@fahchen fahchen commented Jun 21, 2013

expose :last_reply, :using => API::Status do |status, options|
  status.replies.last
end

Use the block result as the object and represent it with using_options

@dblock
Copy link
Member

dblock commented Aug 5, 2013

Is this just another syntax for expose :symbol, { :proc => }? Can't all this be accomplished with existing options?

@dblock
Copy link
Member

dblock commented Aug 5, 2013

Also, would you please be so kind to update CHANGELOG. Thx.

@fahchen
Copy link
Contributor Author

fahchen commented Aug 8, 2013

This can use the block result as the object and represent it with :using option.

dblock added a commit that referenced this pull request Aug 8, 2013
@dblock dblock merged commit 43b6439 into ruby-grape:master Aug 8, 2013
@dblock
Copy link
Member

dblock commented Aug 8, 2013

Merged, thank you.

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.

2 participants