Class: Mnenv::SnapVersion

Inherits:
ArtifactVersion show all
Defined in:
lib/mnenv/models/snap_version.rb

Instance Method Summary collapse

Methods inherited from ArtifactVersion

#<=>, #display_name

Instance Method Details

#to_hashObject



15
16
17
18
19
# File 'lib/mnenv/models/snap_version.rb', line 15

def to_hash
  super.merge(
    'channels' => channels.map(&:to_hash)
  )
end