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-1.2.0 lib/lhs/concerns/service/model.rb
lhs-1.1.0 lib/lhs/concerns/service/model.rb
lhs-1.0.0 lib/lhs/concerns/service/model.rb
lhs-0.4.0 lib/lhs/concerns/service/model.rb
lhs-0.3.0 lib/lhs/concerns/service/model.rb