Module: PaypalAPI::UserInfo::APIs

Included in:
PaypalAPI::UserInfo, PaypalAPI::UserInfo
Defined in:
lib/paypal-api/api_collections/user_info.rb

Overview

Common methods for PaypalAPI::UserInfo class and client.user_info instance

Instance Method Summary collapse

Instance Method Details

#show(query: nil, body: nil, headers: nil) ⇒ Response

Show user profile details

Parameters:

  • query (Hash, nil) (defaults to: nil)

    Request query parameters

  • body (Hash, nil) (defaults to: nil)

    Request body parameters

  • headers (Hash, nil) (defaults to: nil)

    Request headers

Returns:

See Also:



26
27
28
29
30
# File 'lib/paypal-api/api_collections/user_info.rb', line 26

def show(query: nil, body: nil, headers: nil)
  query = add_schema_param(query)

  client.get("/v1/identity/openidconnect/userinfo", query: query, body: body, headers: headers)
end