Class: Sdp::Coverage::Endpoint

Inherits:
Struct
  • Object
show all
Defined in:
lib/sdp/coverage.rb

Overview

method/path identify the operation; success_status is the documented success response; reads maps a navigation path inside the success schema to the camelCase fields our structs read at that node. A “[]” segment descends into array items; the empty path is the schema root.

Instance Attribute Summary collapse

Instance Attribute Details

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



15
16
17
# File 'lib/sdp/coverage.rb', line 15

def method
  @method
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



15
16
17
# File 'lib/sdp/coverage.rb', line 15

def path
  @path
end

#readsObject

Returns the value of attribute reads

Returns:

  • (Object)

    the current value of reads



15
16
17
# File 'lib/sdp/coverage.rb', line 15

def reads
  @reads
end

#success_statusObject

Returns the value of attribute success_status

Returns:

  • (Object)

    the current value of success_status



15
16
17
# File 'lib/sdp/coverage.rb', line 15

def success_status
  @success_status
end