Module: Onfleet::Actions::Delete::ClassMethods
- Defined in:
- lib/onfleet-ruby/actions/delete.rb
Instance Method Summary collapse
Instance Method Details
#delete(id) ⇒ Object
5 6 7 8 9 |
# File 'lib/onfleet-ruby/actions/delete.rb', line 5 def delete id url = "#{self.url}/#{id}" response = Onfleet.request(url, :delete) true end |