Module: ConohaApi::Client::Identity
- Included in:
- ConohaApi::Client
- Defined in:
- lib/conoha_api/client/identity.rb
Constant Summary collapse
- SERVICE =
"identity"
Instance Method Summary collapse
Instance Method Details
#identity_version ⇒ Object
6 7 8 |
# File 'lib/conoha_api/client/identity.rb', line 6 def identity_version get "", no_auth: true end |
#tokens ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/conoha_api/client/identity.rb', line 10 def tokens request_json = { auth: { passwordCredentials: { username: @login, password: @password }, tenantId: @tenant_id } } post "/v2.0/tokens", request_json, no_auth: true end |