Also, maybe in this case a property assignment isn't the best interface between the resource type and the provider - we can define any interface we like and do e.g.
newproperty(:http_method) do ... newvalue(:get) do provider.get end newvalue(:post) do provider.post end end
Dunno, just an idea
Actually a good idea, like it alot, simplifies the interface a bit and makes it more intuitive. Sent a follow up patch to the list doing this.
Cool. ACK to both patches, they look good to me.
Sweet thx, pushed.
-Mo