Class: Blufin::SiteUI

Inherits:
Object
  • Object
show all
Defined in:
lib/core/site/site_ui.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, name) ⇒ SiteUI

Returns a new instance of SiteUI.



7
8
9
10
11
12
# File 'lib/core/site/site_ui.rb', line 7

def initialize(id, name)

    self.id   = id
    self.name = name

end

Instance Attribute Details

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/core/site/site_ui.rb', line 5

def id
  @id
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/core/site/site_ui.rb', line 5

def name
  @name
end