caren-api 0.6.17 → 0.6.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.17
1
+ 0.6.18
data/caren-api.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "caren-api"
8
- s.version = "0.6.17"
8
+ s.version = "0.6.18"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andre Foeken"]
@@ -53,7 +53,7 @@ class Caren::Store::Account < Caren::Base
53
53
  if id
54
54
  "/api/pro/store/accounts/#{id}/deposit_credits"
55
55
  else
56
- "/api/pro/people/#{person_id}/accounts/#{billable_timeline_id}/deposit_credits"
56
+ "/api/pro/people/#{person_id}/accounts/deposit_credits/#{billable_timeline_id}"
57
57
  end
58
58
  end
59
59
 
@@ -61,7 +61,7 @@ class Caren::Store::Account < Caren::Base
61
61
  if id
62
62
  "/api/pro/store/accounts/#{id}/withdraw_credits"
63
63
  else
64
- "/api/pro/people/#{person_id}/accounts/#{billable_timeline_id}/withdraw_credits"
64
+ "/api/pro/people/#{person_id}/accounts/withdraw_credits/#{billable_timeline_id}"
65
65
  end
66
66
  end
67
67
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caren-api
3
3
  version: !ruby/object:Gem::Version
4
- hash: 37
4
+ hash: 35
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 17
10
- version: 0.6.17
9
+ - 18
10
+ version: 0.6.18
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andre Foeken