Class: Sdp::Client::Response

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

Overview

Request-layer result: the unwrapped envelope ‘data` plus `meta`. Resource methods generally return data to callers; pagination needs meta (hasMore/page), so the request layer always carries both.

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



41
42
43
# File 'lib/sdp/client.rb', line 41

def data
  @data
end

#metaObject

Returns the value of attribute meta

Returns:

  • (Object)

    the current value of meta



41
42
43
# File 'lib/sdp/client.rb', line 41

def meta
  @meta
end