Class: Satis::Signature::Component
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Satis::Signature::Component
- Defined in:
- app/components/satis/signature/component.rb
Instance Attribute Summary collapse
-
#attribute ⇒ Object
readonly
Returns the value of attribute attribute.
-
#form ⇒ Object
readonly
Returns the value of attribute form.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(form:, attribute:, **options, &block) ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize(form:, attribute:, **options, &block) ⇒ Component
Returns a new instance of Component.
10 11 12 13 14 |
# File 'app/components/satis/signature/component.rb', line 10 def initialize(form:, attribute:, **, &block) @form = form @attribute = attribute @options = end |
Instance Attribute Details
#attribute ⇒ Object (readonly)
Returns the value of attribute attribute.
8 9 10 |
# File 'app/components/satis/signature/component.rb', line 8 def attribute @attribute end |
#form ⇒ Object (readonly)
Returns the value of attribute form.
8 9 10 |
# File 'app/components/satis/signature/component.rb', line 8 def form @form end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
8 9 10 |
# File 'app/components/satis/signature/component.rb', line 8 def @options end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
8 9 10 |
# File 'app/components/satis/signature/component.rb', line 8 def url @url end |