rs_user_policy 0.1.8 → 0.1.9

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.
@@ -42,7 +42,8 @@ module RsUserPolicy
42
42
  )
43
43
  this_account = {
44
44
  :client => client,
45
- :has_children => false
45
+ :has_children => false,
46
+ :resource => client.accounts(:id => account_id).show()
46
47
  }
47
48
  begin
48
49
  child_accounts = client.child_accounts.index
@@ -59,7 +60,8 @@ module RsUserPolicy
59
60
  @accounts[child_account_id] = {
60
61
  :client => child_account,
61
62
  :has_children => false,
62
- :parent => account_id
63
+ :parent => account_id,
64
+ :resource => child_account_res
63
65
  }
64
66
  end
65
67
  rescue ::RightApi::ApiError => e
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rs_user_policy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-27 00:00:00.000000000 Z
12
+ date: 2013-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: right_api_client
@@ -86,7 +86,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
86
86
  version: '0'
87
87
  segments:
88
88
  - 0
89
- hash: 864178349797000361
89
+ hash: 1521006983899305700
90
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  none: false
92
92
  requirements:
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  version: '0'
96
96
  segments:
97
97
  - 0
98
- hash: 864178349797000361
98
+ hash: 1521006983899305700
99
99
  requirements: []
100
100
  rubyforge_project:
101
101
  rubygems_version: 1.8.25