module ConohaApi::Client::Identity

Constants

SERVICE

Public Instance Methods

identity_version() click to toggle source
# File lib/conoha_api/client/identity.rb, line 6
def identity_version
  get "", no_auth: true
end
tokens() click to toggle source
# 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