Class: Neows::Models::RelativeVelocity

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/neows/models/relative_velocity.rb

Instance Attribute Summary collapse

Attributes inherited from BaseModel

#client

Method Summary

Methods inherited from BaseModel

#initialize

Constructor Details

This class inherits a constructor from Neows::Models::BaseModel

Instance Attribute Details

#kmsFloat

Returns:

  • (Float)


9
# File 'lib/neows/models/relative_velocity.rb', line 9

attribute :kms, Float

#kphFloat

TODO:

Switch from using SanitizedFloat to Float after API removes commas

Returns:

  • (Float)


14
# File 'lib/neows/models/relative_velocity.rb', line 14

attribute :kph, Neows::Attributes::SanitizedFloat

#mphFloat

TODO:

Switch from using SanitizedFloat to Float after API removes commas

Returns:

  • (Float)


19
# File 'lib/neows/models/relative_velocity.rb', line 19

attribute :mph, Neows::Attributes::SanitizedFloat