projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
try again, with puppetforge modules, correctly included now
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
aviator
/
lib
/
puppet
/
feature
/
aviator
/
openstack
/
volume
/
requests
/
v1
/
public
/
root.rb
1
module Aviator
2
3
define_request :root, :inherit => [:openstack, :common, :v2, :public, :base] do
4
5
meta :service, :volume
6
meta :api_version, :v1
7
8
9
def headers
10
super
11
end
12
13
14
def http_method
15
:get
16
end
17
18
19
def url
20
uri = URI(base_url)
21
"#{ uri.scheme }://#{ uri.host }:#{ uri.port.to_s }/v1/"
22
end
23
24
end
25
26
end