Skip to content

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

2 participants