Module: Dnsimple::Client::Identity::StaticHelpers
- Included in:
- V2
- Defined in:
- lib/dnsimple/client/identity.rb
Instance Method Summary collapse
-
#whoami(client, *args) ⇒ Hash
Calls #whoami and directly returns the response data.
Instance Method Details
#whoami(client, *args) ⇒ Hash
Calls Dnsimple::Client::Identity#whoami and directly returns the response data.
30 31 32 |
# File 'lib/dnsimple/client/identity.rb', line 30 def whoami(client, *args) client.identity.whoami(*args).data end |