Sha256: f559dc9acb6a9c1f0e61c829524a41e7b768d9bcfa96aa9252e1f0bc235ededb

Contents?: true

Size: 229 Bytes

Versions: 25

Compression:

Stored size: 229 Bytes

Contents

require 'active_support'
require 'active_model'

class LHS::Service

  module Model
    extend ActiveSupport::Concern

    module ClassMethods

      def model_name
        ActiveModel::Name.new(self)
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
lhs-2.2.2 lib/lhs/concerns/service/model.rb
lhs-1.6.1 lib/lhs/concerns/service/model.rb
lhs-2.2.1 lib/lhs/concerns/service/model.rb
lhs-2.2.0 lib/lhs/concerns/service/model.rb
lhs-1.6.0 lib/lhs/concerns/service/model.rb
lhs-2.1.1 lib/lhs/concerns/service/model.rb
lhs-2.1.0 lib/lhs/concerns/service/model.rb
lhs-2.0.5 lib/lhs/concerns/service/model.rb
lhs-2.0.4 lib/lhs/concerns/service/model.rb
lhs-2.0.3 lib/lhs/concerns/service/model.rb
lhs-2.0.2 lib/lhs/concerns/service/model.rb
lhs-2.0.1 lib/lhs/concerns/service/model.rb
lhs-2.0.0 lib/lhs/concerns/service/model.rb
lhs-1.5.0 lib/lhs/concerns/service/model.rb
lhs-1.4.0 lib/lhs/concerns/service/model.rb
lhs-1.3.1 lib/lhs/concerns/service/model.rb
lhs-1.3.0 lib/lhs/concerns/service/model.rb
lhs-1.2.3 lib/lhs/concerns/service/model.rb
lhs-1.2.2 lib/lhs/concerns/service/model.rb
lhs-1.2.1 lib/lhs/concerns/service/model.rb