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.



316
317
318
# File 'lib/postproxy/types.rb', line 316

def initialize(data:)
  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



314
315
316
# File 'lib/postproxy/types.rb', line 314

def data
  @data
end