class Reynard::Operation

Holds the node reference to an operation in the API specification.

Constants

DEFAULT_MEDIA_TYPE

Attributes

node[R]

Public Class Methods

new(node:) click to toggle source
# File lib/reynard/operation.rb, line 10
def initialize(node:)
  @node = node
end

Public Instance Methods

path() click to toggle source
# File lib/reynard/operation.rb, line 14
def path
  @node[1]
end
verb() click to toggle source
# File lib/reynard/operation.rb, line 18
def verb
  @node[2]
end