Sha256: 9bf4bac4089fde15ac49b134df66d4b5af99bc4f3cc7466ad94a924ecfbfa241

Contents?: true

Size: 457 Bytes

Versions: 7

Compression:

Stored size: 457 Bytes

Contents

module Hive
  module Messages
    class Artifact < Hive::Messages::Base
      include Hive::Representers::ArtifactRepresenter


      attribute :artifact_id, Integer
      attribute :job_id, Integer
      attribute :asset_file_name, String
      attribute :asset_content_type, String
      attribute :asset_file_size, Integer

      validates :artifact_id, :job_id, :asset_file_name, :asset_content_type, :asset_file_size, presence: true
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hive-messages-1.0.7 lib/hive/messages/artifact.rb
hive-messages-1.0.6 lib/hive/messages/artifact.rb
hive-messages-1.0.5 lib/hive/messages/artifact.rb
hive-messages-1.0.4 lib/hive/messages/artifact.rb
hive-messages-1.0.3 lib/hive/messages/artifact.rb
hive-messages-1.0.2 lib/hive/messages/artifact.rb
hive-messages-1.0.1 lib/hive/messages/artifact.rb