Sha256: 80942ac83acf666796cdd8cdff74111e8a18b3689b21640a841091d11d27caf7

Contents?: true

Size: 579 Bytes

Versions: 1

Compression:

Stored size: 579 Bytes

Contents

module Fog
  module Tasks 
    class Wunderlist 
      class Real

        def update_list(id, attributes = {})
          request(
            :expects  => [200],
            :method   => 'PUT',
            :path     => "#{id}",
            :body     => attributes 
          )
        end

      end

      class Mock

        def update_list(id, attributes = {})
          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/update_list.rb