Open guilhermesilveira opened 13 years ago
Got it :D
Hi Gui, explain more about to me. You're talking to make this implementation in medie, or Link class that call medie like module?
There is a class called Links. If you get a resource such as:
response.resource
You can invoke its links method and receives this object:
links = response.resources.links
So you can follow a link called self:
links.self.get
This issue requests a new method which is the equivalent as the above one (.self.get):
links.refresh
Perfect, time to write some specs and implement. Thank u
Any Link collection (Links class) should have a method called refresh, which is a shortcut for .self.get.