Returns:
69 70 71 72 73 74 75
# File 'lib/billomat/models/base.rb', line 69 def update path = "#{self.class.base_path}/#{id}" resp = Billomat::Gateway.new(:put, path, wrapped_data).run @data = resp[self.class.resource_name] true end