fanforce 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,7 @@ class Fanforce
19
19
  end
20
20
 
21
21
  def curl_command
22
- case @request.method
22
+ case @request.send(:method)
23
23
  when :get
24
24
  "curl \"#{@path}?#{to_param(@query_params)}\""
25
25
  when :post
@@ -29,7 +29,7 @@ class Fanforce
29
29
  when :delete
30
30
  "curl --request DELETE \"#{@path}?#{to_param(@query_params)}\""
31
31
  else
32
- "Could not create curl command because request method was unknown: #{@request.method}"
32
+ "Could not create curl command because request method was unknown: #{@request.send(:method)}"
33
33
  end
34
34
  end
35
35
  def code() end
@@ -1,3 +1,3 @@
1
1
  class Fanforce
2
- VERSION = "0.4.2"
2
+ VERSION = '0.4.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: