mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-14 18:01:42 +00:00
refactorizar SiteUsuarie
This commit is contained in:
parent
4cb66ca9dc
commit
f93f6e959d
1 changed files with 1 additions and 8 deletions
|
@ -2,11 +2,4 @@
|
|||
|
||||
# Clase genérica a través de la que podemos obtener la relación entre
|
||||
# sitio y usuarie
|
||||
class SiteUsuarie
|
||||
attr_reader :site, :usuarie
|
||||
|
||||
def initialize(site, usuarie)
|
||||
@site = site
|
||||
@usuarie = usuarie
|
||||
end
|
||||
end
|
||||
SiteUsuarie = Struct.new(:site, :usuarie)
|
||||
|
|
Loading…
Reference in a new issue