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.



166
167
168
# File 'lib/postproxy/types.rb', line 166

def initialize(data:)
  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



164
165
166
# File 'lib/postproxy/types.rb', line 164

def data
  @data
end