Sha256: e75477abf49a5d45ff86924e658c935ec5b3641c4bc83eb47ff512dcc37b7d86

Contents?: true

Size: 511 Bytes

Versions: 1

Compression:

Stored size: 511 Bytes

Contents

module Fog
  module Tasks 
    class Wunderlist 
      class Real

        def delete_task(id)
          request(
            :expects  => [200],
            :method   => 'DELETE',
            :path     => "/#{id}"
          )
        end

      end

      class Mock

        def delete_task(id)
          Fog::Mock.not_implemented
          #response = Excon::Response.new
          #response.status = 200
          #response.body = {
          #}
          #response
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-wunderlist-0.1 lib/fog/wunderlist/requests/tasks/delete_task.rb