Module: Signable::Concerns::Embed::ClassMethods
- Defined in:
- lib/signable/concerns/embed.rb
Instance Method Summary collapse
Instance Method Details
#embed(name, options = {}) ⇒ Object
11 12 13 |
# File 'lib/signable/concerns/embed.rb', line 11 def (name, = {}) << Signable::Model::Embed.new(name, .merge({ prefix: prefix })) end |
#embeds ⇒ Object
15 16 17 |
# File 'lib/signable/concerns/embed.rb', line 15 def @embeds ||= [] end |