diff --git a/lib/dnsimple/struct/account.rb b/lib/dnsimple/struct/account.rb index 5505197a..43b5553c 100644 --- a/lib/dnsimple/struct/account.rb +++ b/lib/dnsimple/struct/account.rb @@ -6,7 +6,7 @@ class Account < Base attr_accessor :id # @return [String] The account email. - attr_accessor :name + attr_accessor :email end end diff --git a/lib/dnsimple/struct/user.rb b/lib/dnsimple/struct/user.rb index 27f64fd4..754b81d0 100644 --- a/lib/dnsimple/struct/user.rb +++ b/lib/dnsimple/struct/user.rb @@ -6,7 +6,7 @@ class User < Base attr_accessor :id # @return [String] The user email. - attr_accessor :name + attr_accessor :email end end