ruby_desk 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/ruby_desk/connector.rb +3 -4
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.4.0
@@ -14,13 +14,10 @@ module RubyDesk
14
14
 
15
15
  attr_writer :frob
16
16
 
17
- def initialize(api_key=nil, api_secret=nil, frob=nil, api_token=nil)
17
+ def initialize(api_key=nil, api_secret=nil, api_token=nil)
18
18
  @api_key = api_key
19
19
  @api_secret = api_secret
20
- @frob = frob
21
20
  @api_token = api_token
22
- @api_key = "991ac77f4c202873b0ab88f11762370c"
23
- @api_secret = "c3382d5902e5a7b0"
24
21
  end
25
22
 
26
23
  # Sign the given parameters and returns the signature
@@ -67,6 +64,8 @@ module RubyDesk
67
64
  headers = {
68
65
  'Content-Type' => 'application/x-www-form-urlencoded'
69
66
  }
67
+ puts "url:"+url.path
68
+ puts "data:"+data
70
69
 
71
70
  case api_call[:method]
72
71
  when :get, 'get' then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_desk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ahmed ElDawy