Sha256: c3a6607c3f0bc2d81ebc1207af18cabbe9d0f25043130dcb4567fbd8b18205da

Contents?: true

Size: 724 Bytes

Versions: 2

Compression:

Stored size: 724 Bytes

Contents

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

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

      # @!attribute [rw]
      # @return [Float]
      attribute :lunar, Float

      # @!attribute [rw]
      # @todo Switch from using SanitizedInteger to Integer after API removes commas
      # @return [Integer]
      attribute :kilometers, Neows::Attributes::SanitizedInteger

      # @!attribute [rw]
      # @todo Switch from using SanitizedInteger to Integer after API removes commas
      # @return [Integer]
      attribute :miles, Neows::Attributes::SanitizedInteger
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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