Class: Hyrax::Group

Inherits:
Object
  • Object
show all
Defined in:
app/models/hyrax/group.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Group

Returns a new instance of Group.



3
4
5
# File 'app/models/hyrax/group.rb', line 3

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



7
8
9
# File 'app/models/hyrax/group.rb', line 7

def name
  @name
end

Instance Method Details

#to_sipity_agentObject



9
10
11
# File 'app/models/hyrax/group.rb', line 9

def to_sipity_agent
  sipity_agent || create_sipity_agent!
end