Class: Signable::Model::Embed
- Inherits:
-
Struct
- Object
- Struct
- Signable::Model::Embed
- Includes:
- Concerns::Prefix
- Defined in:
- lib/signable/model/embed.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
Methods included from Concerns::Prefix
#match?, #name_with_prefix, #name_without_prefix, #prefix
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
3 4 5 |
# File 'lib/signable/model/embed.rb', line 3 def name @name end |
#options ⇒ Object
Returns the value of attribute options
3 4 5 |
# File 'lib/signable/model/embed.rb', line 3 def @options end |
Instance Method Details
#embed_class ⇒ Object
6 7 8 |
# File 'lib/signable/model/embed.rb', line 6 def "Signable::#{name.to_s.classify}".constantize end |