Class: Dnsimple::Struct::Whoami

Inherits:
Base
  • Object
show all
Defined in:
lib/dnsimple/struct/whoami.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dnsimple::Struct::Base

Instance Attribute Details

#accountAccount

Returns The account, if present.

Returns:

  • (Account)

    The account, if present.


8
9
10
# File 'lib/dnsimple/struct/whoami.rb', line 8

def 
  @account
end

#userString

Returns The user, if present.

Returns:

  • (String)

    The user, if present.


11
12
13
# File 'lib/dnsimple/struct/whoami.rb', line 11

def user
  @user
end