Sha256: cf604627794ec3f3038368d586a039ae4ee341792e50db5e91702e0c440e852a

Contents?: true

Size: 490 Bytes

Versions: 2

Compression:

Stored size: 490 Bytes

Contents

module TD::Types
  # A value with information about its recent changes.
  #
  # @attr value [Float] The current value.
  # @attr previous_value [Float] The value for the previous day.
  # @attr growth_rate_percentage [Float] The growth rate of the value, as a percentage.
  class StatisticalValue < Base
    attribute :value, TD::Types::Coercible::Float
    attribute :previous_value, TD::Types::Coercible::Float
    attribute :growth_rate_percentage, TD::Types::Coercible::Float
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/statistical_value.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/statistical_value.rb