salesflip-jobboersen_integration 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ module ContactExtras
15
15
  module InstanceMethods
16
16
  def create_in_tjb
17
17
  response = connection.post(
18
- "/administration/contacts.xml?auth_token=#{self.user.tjb_auth_token}", tjb_xml)
18
+ "/administration/users.xml?auth_token=#{self.user.tjb_auth_token}", tjb_xml)
19
19
  attributes = Hash.from_xml(response.body)['user']
20
20
  self.update_attributes :tjb_id => attributes['_id'], :do_not_update => true
21
21
  rescue
@@ -25,7 +25,7 @@ module ContactExtras
25
25
  def update_in_tjb
26
26
  if self.tjb_id
27
27
  connection.put(
28
- "/administration/contacts/#{self.tjb_id}.xml?auth_token=#{self.user.tjb_auth_token}",
28
+ "/administration/users/#{self.tjb_id}.xml?auth_token=#{self.user.tjb_auth_token}",
29
29
  tjb_xml)
30
30
  else
31
31
  create_in_tjb
@@ -19,7 +19,7 @@ module JobboersenIntegration
19
19
  Salesflip::Plugin.register(:jobboersen_integration) do
20
20
  name 'JobBoersen Integration'
21
21
  author 'Matt Beedle'
22
- version '0.2.2'
22
+ version '0.2.3'
23
23
  description 'Everything to seemlessly integrate 1000jobboersen.de'
24
24
  end
25
25
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: salesflip-jobboersen_integration
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 2
10
- version: 0.2.2
9
+ - 3
10
+ version: 0.2.3
11
11
  platform: ruby
12
12
  authors: []
13
13