rightresource 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,7 +36,7 @@ class Server < RightResource::Base
36
36
 
37
37
  def settings(id)
38
38
  path = element_path(id, :settings)
39
- format.decode(connection.get(path))
39
+ generate_attributes(format.decode(connection.get(path)))
40
40
  end
41
41
  end
42
42
  end
@@ -14,7 +14,7 @@ class ServerArray < RightResource::Base
14
14
 
15
15
  def instances(id)
16
16
  path = element_path(id, :instances)
17
- format.decode(connection.get(path))
17
+ generate_attributes(format.decode(connection.get(path)))
18
18
  end
19
19
  end
20
20
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rightresource
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Satoshi Ohki