Module: Shrine::Plugins::Rom::AttacherMethods
- Defined in:
- lib/shrine/plugins/rom.rb
Instance Attribute Summary collapse
-
#repository ⇒ Object
readonly
Returns the value of attribute repository.
Instance Method Summary collapse
Instance Attribute Details
#repository ⇒ Object (readonly)
Returns the value of attribute repository.
21 22 23 |
# File 'lib/shrine/plugins/rom.rb', line 21 def repository @repository end |
Instance Method Details
#initialize(repository: nil, **options) ⇒ Object
23 24 25 26 |
# File 'lib/shrine/plugins/rom.rb', line 23 def initialize(repository: nil, **) super(**) @repository = repository end |