Sha256: d297d3b88634a149338c62ea43f5b921c6b96c0f1e345c0fe5dddb7a56223ebf

Contents?: true

Size: 614 Bytes

Versions: 2

Compression:

Stored size: 614 Bytes

Contents

require 'neows/attributes'
require 'neows/models/base_model'

module Neows
  module Models
    class RelativeVelocity < Neows::Models::BaseModel
      # @!attribute [rw]
      # @return [Float]
      attribute :kms, Float

      # @!attribute [rw]
      # @todo Switch from using SanitizedFloat to Float after API removes commas
      # @return [Float]
      attribute :kph, Neows::Attributes::SanitizedFloat

      # @!attribute [rw]
      # @todo Switch from using SanitizedFloat to Float after API removes commas
      # @return [Float]
      attribute :mph, Neows::Attributes::SanitizedFloat
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
neows-0.0.2 lib/neows/models/relative_velocity.rb
neows-0.0.1 lib/neows/models/relative_velocity.rb