Class: LiveJournal::Server
- Inherits:
-
Object
- Object
- LiveJournal::Server
- Defined in:
- lib/livejournal/basic.rb
Overview
A LiveJournal server. name is currently unused.
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(name, url) ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize(name, url) ⇒ Server
Returns a new instance of Server.
30 31 32 33 |
# File 'lib/livejournal/basic.rb', line 30 def initialize(name, url) @name = name @url = url end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
28 29 30 |
# File 'lib/livejournal/basic.rb', line 28 def name @name end |
#url ⇒ Object
Returns the value of attribute url.
28 29 30 |
# File 'lib/livejournal/basic.rb', line 28 def url @url end |