projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7ec8e667d8f8f2dc4dd1b89ab69f1a5d4cbe4bc0
[mirror/dsa-puppet.git]
/
1
module Aviator
2
3
define_request :list_projects, :inherit => [:openstack, :common, :v2, :admin, :base] do
4
5
meta :service, :metering
6
meta :api_version, :v1
7
meta :endpoint_type, :admin
8
9
10
def headers
11
super
12
end
13
14
15
def http_method
16
:get
17
end
18
19
20
def url
21
uri = URI(base_url)
22
"#{ uri.scheme }://#{ uri.host }:#{ uri.port.to_s }/v1/projects"
23
end
24
25
end
26
27
end