Sha256: d858dc243bc0aec4082f3413b658b472d7b5ab484d27c935e7da4d7c989765ac

Contents?: true

Size: 899 Bytes

Versions: 11

Compression:

Stored size: 899 Bytes

Contents

# frozen_string_literal: true
# Copyright 2016 Liqwyd Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Top level module for the core Cyclid code.
module Cyclid
  # Module for the Cyclid API
  module API
    # Model for Steps
    class Step < ActiveRecord::Base
      Cyclid.logger.debug('In the Step model')

      validates :sequence, presence: true

      belongs_to :stage
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cyclid-0.4.0 app/cyclid/models/step.rb
cyclid-0.3.3 app/cyclid/models/step.rb
cyclid-0.3.2 app/cyclid/models/step.rb
cyclid-0.3.1 app/cyclid/models/step.rb
cyclid-0.3.0 app/cyclid/models/step.rb
cyclid-0.2.5 app/cyclid/models/step.rb
cyclid-0.2.4 app/cyclid/models/step.rb
cyclid-0.2.3 app/cyclid/models/step.rb
cyclid-0.2.2 app/cyclid/models/step.rb
cyclid-0.2.1 app/cyclid/models/step.rb
cyclid-0.2.0 app/cyclid/models/step.rb