Class: Disqus::AnonymousAuthor
- Inherits:
-
BaseAuthor
- Object
- BaseAuthor
- Disqus::AnonymousAuthor
- Defined in:
- lib/disqus/author.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from BaseAuthor
Instance Method Summary collapse
-
#initialize(name, url, email_hash) ⇒ AnonymousAuthor
constructor
A new instance of AnonymousAuthor.
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
#name ⇒ Object (readonly)
Returns the value of attribute name.
21 22 23 |
# File 'lib/disqus/author.rb', line 21 def name @name end |