Class: PostProxy::ListResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/postproxy/types.rb

Direct Known Subclasses

PaginatedResponse

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data:) ⇒ ListResponse

Returns a new instance of ListResponse.



237
238
239
# File 'lib/postproxy/types.rb', line 237

def initialize(data:)
  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



235
236
237
# File 'lib/postproxy/types.rb', line 235

def data
  @data
end