Class: PostProxy::StatsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data:) ⇒ StatsResponse

Returns a new instance of StatsResponse.



255
256
257
# File 'lib/postproxy/types.rb', line 255

def initialize(data:)
  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



253
254
255
# File 'lib/postproxy/types.rb', line 253

def data
  @data
end