Created
February 26, 2017 14:00
-
-
Save ziyan-junaideen/c3b4b307b15da0e1714e16d6e5d40d1f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Status::Representer | |
class Index < Roar::Decorator | |
with_statuses = Class.new(Create) do | |
collection :statuses, decorator: Status::Representer::Show, embed: true | |
end | |
end | |
class Show < Roar::Decorator | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment