Created
May 9, 2017 14:24
-
-
Save matthutchinson/a1c5283137b3dc9d2324f4ed6bd7df56 to your computer and use it in GitHub Desktop.
This file contains 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 HomeSerializer < ApplicationSerializer | |
def _links | |
{ | |
order_volume_forecasts: { href: order_volume_forecasts_url } | |
slots: { href: slots_url }, | |
micro_contracts: { href: micro_contracts_url } | |
} | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment