module Oura::Apis::UserInformation
UserInformation
is user information.
Constants
- REQUEST_PATH
Public Instance Methods
userinfo()
click to toggle source
@example response body {
"age": 27, "weight": 80, "gender": "male", "email": "john.doe@the.domain"
} @return [Oura::Model::UserInformation]
# File lib/oura/apis/user_information.rb, line 20 def userinfo response_body = get(REQUEST_PATH).body symbolized_json = JSON.parse(response_body).symbolize_keys ::Oura::Model::UserInformation.new(symbolized_json) end