intouch-gdata4ruby 0.1.5.2 → 0.1.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -170,7 +170,7 @@ module GData4Ruby
170
170
  #Deletes the object.
171
171
  def delete
172
172
  if @exists
173
- service.send_request(Request.new(:delete, @edit_uri, nil, {"If-Match" => "*"}))
173
+ service.send_request(Request.new(:delete, @edit_uri, '', {"If-Match" => "*"}))
174
174
  end
175
175
  @exists = false
176
176
  return true
@@ -33,7 +33,7 @@ module GData4Ruby
33
33
  attr_reader :parameters
34
34
 
35
35
  #Creates a new request object.
36
- def initialize(type, url, content = nil, headers = nil, query_parameters = nil)
36
+ def initialize(type, url, content = '', headers = '', query_parameters = '')
37
37
  @parameters = nil
38
38
  @headers = headers
39
39
  @content = content
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: intouch-gdata4ruby
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.5.2
5
+ version: 0.1.5.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mike Reich