Class: Dnsimple::Struct::Whoami
- Defined in:
- lib/dnsimple/struct/whoami.rb
Instance Attribute Summary collapse
-
#account ⇒ Account
The account, if present.
-
#user ⇒ String
The user, if present.
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dnsimple::Struct::Base
Instance Attribute Details
#account ⇒ Account
Returns The account, if present.
7 8 9 |
# File 'lib/dnsimple/struct/whoami.rb', line 7 def account @account end |
#user ⇒ String
Returns The user, if present.
10 11 12 |
# File 'lib/dnsimple/struct/whoami.rb', line 10 def user @user end |