Class: Clickwrap::Presenter::Statement
- Inherits:
-
Data
- Object
- Data
- Clickwrap::Presenter::Statement
- Defined in:
- lib/clickwrap/presenter.rb
Instance Attribute Summary collapse
-
#assertion ⇒ Object
readonly
Returns the value of attribute assertion.
-
#choices ⇒ Object
readonly
Returns the value of attribute choices.
-
#control_id ⇒ Object
readonly
Returns the value of attribute control_id.
-
#control_name ⇒ Object
readonly
Returns the value of attribute control_name.
-
#documents ⇒ Object
readonly
Returns the value of attribute documents.
-
#error_id ⇒ Object
readonly
Returns the value of attribute error_id.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#optional ⇒ Object
readonly
Returns the value of attribute optional.
-
#purpose_key ⇒ Object
readonly
Returns the value of attribute purpose_key.
-
#required ⇒ Object
readonly
Returns the value of attribute required.
-
#requires_an_explicit_choice ⇒ Object
readonly
Returns the value of attribute requires_an_explicit_choice.
-
#withdrawal_path ⇒ Object
readonly
Returns the value of attribute withdrawal_path.
Instance Method Summary collapse
- #checkbox? ⇒ Boolean
- #optional? ⇒ Boolean
- #required? ⇒ Boolean
- #requires_an_explicit_choice? ⇒ Boolean
Instance Attribute Details
#assertion ⇒ Object (readonly)
Returns the value of attribute assertion
25 26 27 |
# File 'lib/clickwrap/presenter.rb', line 25 def assertion @assertion end |
#choices ⇒ Object (readonly)
Returns the value of attribute choices
25 26 27 |
# File 'lib/clickwrap/presenter.rb', line 25 def choices @choices end |
#control_id ⇒ Object (readonly)
Returns the value of attribute control_id
25 26 27 |
# File 'lib/clickwrap/presenter.rb', line 25 def control_id @control_id end |
#control_name ⇒ Object (readonly)
Returns the value of attribute control_name
25 26 27 |
# File 'lib/clickwrap/presenter.rb', line 25 def control_name @control_name end |
#documents ⇒ Object (readonly)
Returns the value of attribute documents
25 26 27 |
# File 'lib/clickwrap/presenter.rb', line 25 def documents @documents end |
#error_id ⇒ Object (readonly)
Returns the value of attribute error_id
25 26 27 |
# File 'lib/clickwrap/presenter.rb', line 25 def error_id @error_id end |
#key ⇒ Object (readonly)
Returns the value of attribute key
25 26 27 |
# File 'lib/clickwrap/presenter.rb', line 25 def key @key end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
25 26 27 |
# File 'lib/clickwrap/presenter.rb', line 25 def kind @kind end |
#label ⇒ Object (readonly)
Returns the value of attribute label
25 26 27 |
# File 'lib/clickwrap/presenter.rb', line 25 def label @label end |
#optional ⇒ Object (readonly)
Returns the value of attribute optional
25 26 27 |
# File 'lib/clickwrap/presenter.rb', line 25 def optional @optional end |
#purpose_key ⇒ Object (readonly)
Returns the value of attribute purpose_key
25 26 27 |
# File 'lib/clickwrap/presenter.rb', line 25 def purpose_key @purpose_key end |
#required ⇒ Object (readonly)
Returns the value of attribute required
25 26 27 |
# File 'lib/clickwrap/presenter.rb', line 25 def required @required end |
#requires_an_explicit_choice ⇒ Object (readonly)
Returns the value of attribute requires_an_explicit_choice
25 26 27 |
# File 'lib/clickwrap/presenter.rb', line 25 def requires_an_explicit_choice @requires_an_explicit_choice end |
#withdrawal_path ⇒ Object (readonly)
Returns the value of attribute withdrawal_path
25 26 27 |
# File 'lib/clickwrap/presenter.rb', line 25 def withdrawal_path @withdrawal_path end |
Instance Method Details
#checkbox? ⇒ Boolean
31 |
# File 'lib/clickwrap/presenter.rb', line 31 def checkbox? = choices.nil? |
#optional? ⇒ Boolean
29 |
# File 'lib/clickwrap/presenter.rb', line 29 def optional? = optional |
#required? ⇒ Boolean
28 |
# File 'lib/clickwrap/presenter.rb', line 28 def required? = required |
#requires_an_explicit_choice? ⇒ Boolean
30 |
# File 'lib/clickwrap/presenter.rb', line 30 def requires_an_explicit_choice? = requires_an_explicit_choice |