Class: Coyote::ResourceLink::Verb
- Inherits:
-
Struct
- Object
- Struct
- Coyote::ResourceLink::Verb
- Defined in:
- lib/coyote/resource_link.rb
Overview
Basic container for Coyote Verb definitions
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#reverse ⇒ Object
Returns the value of attribute reverse.
Instance Method Summary collapse
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description
5 6 7 |
# File 'lib/coyote/resource_link.rb', line 5 def description @description end |
#name ⇒ Object
Returns the value of attribute name
5 6 7 |
# File 'lib/coyote/resource_link.rb', line 5 def name @name end |
#reverse ⇒ Object
Returns the value of attribute reverse
5 6 7 |
# File 'lib/coyote/resource_link.rb', line 5 def reverse @reverse end |
Instance Method Details
#reverse_verb_name ⇒ Object
6 7 8 |
# File 'lib/coyote/resource_link.rb', line 6 def reverse_verb_name reverse.name end |