Class: Dnsimple::Struct::User

Inherits:
Base
  • Object
show all
Defined in:
lib/dnsimple/struct/user.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

#emailString

Returns The user email.

Returns:

  • (String)

    The user email.



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

def email
  @email
end

#idInteger

Returns The user ID in DNSimple.

Returns:

  • (Integer)

    The user ID in DNSimple.



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

def id
  @id
end