Class: Hyrax::Group
- Inherits:
-
Object
- Object
- Hyrax::Group
- Defined in:
- app/models/hyrax/group.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Group
constructor
A new instance of Group.
- #to_sipity_agent ⇒ Object
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
#name ⇒ Object (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_agent ⇒ Object
9 10 11 |
# File 'app/models/hyrax/group.rb', line 9 def to_sipity_agent sipity_agent || create_sipity_agent! end |