Class: MandateClaw::DSL::Permission
- Inherits:
-
Struct
- Object
- Struct
- MandateClaw::DSL::Permission
- Defined in:
- lib/mandate_claw/dsl/permission.rb
Overview
A right: the named party MAY perform this action. Not performing is not a breach.
:dispute, on: :buyer, within: 7.days, event: :raise_dispute
Instance Attribute Summary collapse
-
#event ⇒ Object
Returns the value of attribute event.
-
#name ⇒ Object
Returns the value of attribute name.
-
#on ⇒ Object
Returns the value of attribute on.
-
#within ⇒ Object
Returns the value of attribute within.
Instance Attribute Details
#event ⇒ Object
Returns the value of attribute event
10 11 12 |
# File 'lib/mandate_claw/dsl/permission.rb', line 10 def event @event end |
#name ⇒ Object
Returns the value of attribute name
10 11 12 |
# File 'lib/mandate_claw/dsl/permission.rb', line 10 def name @name end |
#on ⇒ Object
Returns the value of attribute on
10 11 12 |
# File 'lib/mandate_claw/dsl/permission.rb', line 10 def on @on end |
#within ⇒ Object
Returns the value of attribute within
10 11 12 |
# File 'lib/mandate_claw/dsl/permission.rb', line 10 def within @within end |