Class: Coyote::ResourceLink::Verb

Inherits:
Struct
  • Object
show all
Defined in:
lib/coyote/resource_link.rb

Overview

Basic container for Coyote Verb definitions

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



5
6
7
# File 'lib/coyote/resource_link.rb', line 5

def description
  @description
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/coyote/resource_link.rb', line 5

def name
  @name
end

#reverseObject

Returns the value of attribute reverse

Returns:

  • (Object)

    the current value of reverse



5
6
7
# File 'lib/coyote/resource_link.rb', line 5

def reverse
  @reverse
end

Instance Method Details

#reverse_verb_nameObject



6
7
8
# File 'lib/coyote/resource_link.rb', line 6

def reverse_verb_name
  reverse.name
end