class EY::ServicesAPI::Service
Attributes
connection[RW]
url[RW]
Public Instance Methods
destroy()
click to toggle source
# File lib/ey_services_api/service.rb, line 14 def destroy connection.destroy_service(self.url) end
update(atts)
click to toggle source
# File lib/ey_services_api/service.rb, line 8 def update(atts) new_atts = self.to_hash.merge(atts) connection.update_service(self.url, new_atts) update_from_hash(new_atts) end