Class: Tkellem::Network

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/tkellem/models/network.rb

Instance Method Summary collapse

Instance Method Details

#at_connectObject



16
17
18
# File 'lib/tkellem/models/network.rb', line 16

def at_connect
  read_attribute(:at_connect) || []
end

#public?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/tkellem/models/network.rb', line 20

def public?
  !user
end