hcloud-ruby icon indicating copy to clipboard operation
hcloud-ruby copied to clipboard

Reload an object using the update method

Open MarkusFreitag opened this issue 8 years ago • 4 comments

Currently the update method returns a new object, but it should also update itself.

MarkusFreitag avatar Feb 28 '18 13:02 MarkusFreitag

After looking into it further, calling update can be used the update an attribute. So we should introduce an extra reload method.

MarkusFreitag avatar Feb 28 '18 13:02 MarkusFreitag

That would be very useful, right now I do action = hcloud.actions[action.id].

suhlig avatar Oct 10 '19 20:10 suhlig

Howdy, i'm actually rewriting the whole code base, i assume this will be fixed soon

tonobo avatar Oct 11 '19 05:10 tonobo

I'd be happy to test a pre-release, if that is helpful for you.

suhlig avatar Oct 11 '19 08:10 suhlig