Skip to content

Commit

Permalink
Fix missing container_type bug
Browse files Browse the repository at this point in the history
It needed to be defined on the record
  • Loading branch information
WilliamMcCumstie committed Sep 3, 2020
1 parent 2c1ff74 commit 25104cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/flight_asset/records.rb
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ class AssetContainersRecord < AutoRecord
has_many :childContainers, class: self.to_s
has_many :assets, class: 'FlightAsset::AssetsRecord'

attributes :name, :xCapacity, :yCapacity, :containerType, :x_capacity, :y_capacity,
attributes :name, :xCapacity, :yCapacity, :containerType, :container_type, :x_capacity, :y_capacity,
:x_start_position, :xStartPosition, :x_end_position, :xEndPosition,
:y_start_position, :yStartPosition, :y_end_position, :yEndPosition
end
Expand Down
2 changes: 1 addition & 1 deletion lib/flight_asset/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
#==============================================================================

module FlightAsset
VERSION = '2.0.0-rc4'
VERSION = '2.0.0-rc5'
end

0 comments on commit 25104cb

Please sign in to comment.