Sha256: c3f9fa18c23f5b3e2c377c91dc6c33f3a324813855e7c1e0dba1ff76a6437e39
Contents?: true
Size: 675 Bytes
Versions: 1
Compression:
Stored size: 675 Bytes
Contents
module Fog module Tasks class Wunderlist class Real def create_task(title, list_id, attributes = {}) request( :expects => [201], :method => 'POST', :path => "/me/tasks", :body => { :title => title, :list_id => list_id }.merge(attributes) ) end end class Mock def create_task(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/create_task.rb |