Class: Textus::Command::Propose
- Inherits:
-
Data
- Object
- Data
- Textus::Command::Propose
- Defined in:
- lib/textus/command.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#meta ⇒ Object
readonly
Returns the value of attribute meta.
-
#pending_key ⇒ Object
readonly
Returns the value of attribute pending_key.
-
#role ⇒ Object
readonly
Returns the value of attribute role.
Instance Method Summary collapse
-
#initialize(key:, role:, meta: nil, body: nil, content: nil, pending_key: nil) ⇒ Propose
constructor
A new instance of Propose.
Constructor Details
#initialize(key:, role:, meta: nil, body: nil, content: nil, pending_key: nil) ⇒ Propose
Returns a new instance of Propose.
6 7 8 |
# File 'lib/textus/command.rb', line 6 def initialize(key:, role:, meta: nil, body: nil, content: nil, pending_key: nil) super end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body
5 6 7 |
# File 'lib/textus/command.rb', line 5 def body @body end |
#content ⇒ Object (readonly)
Returns the value of attribute content
5 6 7 |
# File 'lib/textus/command.rb', line 5 def content @content end |
#key ⇒ Object (readonly)
Returns the value of attribute key
5 6 7 |
# File 'lib/textus/command.rb', line 5 def key @key end |
#meta ⇒ Object (readonly)
Returns the value of attribute meta
5 6 7 |
# File 'lib/textus/command.rb', line 5 def @meta end |
#pending_key ⇒ Object (readonly)
Returns the value of attribute pending_key
5 6 7 |
# File 'lib/textus/command.rb', line 5 def pending_key @pending_key end |
#role ⇒ Object (readonly)
Returns the value of attribute role
5 6 7 |
# File 'lib/textus/command.rb', line 5 def role @role end |