occi 2.5.8 → 2.5.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/occi/core/entity.rb +2 -2
- data/lib/occi/version.rb +1 -1
- metadata +1 -1
data/lib/occi/core/entity.rb
CHANGED
@@ -161,7 +161,7 @@ module OCCI
|
|
161
161
|
text << 'X-OCCI-Attribute: ' + name + '=' + value + "\n"
|
162
162
|
end
|
163
163
|
@actions.each do |action|
|
164
|
-
_, term =
|
164
|
+
_, term = action.split('#')
|
165
165
|
text << 'Link: <' + self.location + '?action=' + term + '>;rel=' + action.inspect + "\n"
|
166
166
|
end
|
167
167
|
text
|
@@ -184,7 +184,7 @@ module OCCI
|
|
184
184
|
header['X-OCCI-Attribute'] = attributes.join(',') if attributes.any?
|
185
185
|
links = []
|
186
186
|
@actions.each do |action|
|
187
|
-
_, term =
|
187
|
+
_, term = action.split('#')
|
188
188
|
links << self.location + '?action=' + term + '>;rel=' + action.inspect
|
189
189
|
end
|
190
190
|
header['Link'] = links.join(',') if links.any?
|
data/lib/occi/version.rb
CHANGED