Class: Disqus::AnonymousAuthor

Inherits:
BaseAuthor show all
Defined in:
lib/disqus/author.rb

Instance Attribute Summary collapse

Attributes inherited from BaseAuthor

#email_hash, #url

Instance Method Summary collapse

Constructor Details

#initialize(name, url, email_hash) ⇒ AnonymousAuthor

Returns a new instance of AnonymousAuthor.



22
23
24
# File 'lib/disqus/author.rb', line 22

def initialize(name, url, email_hash)
  @name, @url, @email_hash = name, url, email_hash
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



21
22
23
# File 'lib/disqus/author.rb', line 21

def name
  @name
end