Class: LiveJournal::Server

Inherits:
Object
  • Object
show all
Defined in:
lib/livejournal/basic.rb

Overview

A LiveJournal server. name is currently unused.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



28
29
30
# File 'lib/livejournal/basic.rb', line 28

def name
  @name
end

#urlObject

Returns the value of attribute url.



28
29
30
# File 'lib/livejournal/basic.rb', line 28

def url
  @url
end