Sha256: 20ea7f7e61888ba3c7d3042d8ec56702310f9809952870be5b6dd208c86713f5

Contents?: true

Size: 415 Bytes

Versions: 18

Compression:

Stored size: 415 Bytes

Contents

require 'active_support'

class LHS::Service

  module Includes
    extend ActiveSupport::Concern

    attr_accessor :includes

    module ClassMethods

      def includes(args)
        class_clone = clone
        class_clone.instance.endpoints = instance.endpoints
        class_clone.instance.mapping = instance.mapping
        class_clone.instance.includes = args
        class_clone
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
lhs-1.6.1 lib/lhs/concerns/service/includes.rb
lhs-1.6.0 lib/lhs/concerns/service/includes.rb
lhs-2.0.3 lib/lhs/concerns/service/includes.rb
lhs-2.0.2 lib/lhs/concerns/service/includes.rb
lhs-2.0.1 lib/lhs/concerns/service/includes.rb
lhs-2.0.0 lib/lhs/concerns/service/includes.rb
lhs-1.5.0 lib/lhs/concerns/service/includes.rb
lhs-1.4.0 lib/lhs/concerns/service/includes.rb
lhs-1.3.1 lib/lhs/concerns/service/includes.rb
lhs-1.3.0 lib/lhs/concerns/service/includes.rb
lhs-1.2.3 lib/lhs/concerns/service/includes.rb
lhs-1.2.2 lib/lhs/concerns/service/includes.rb
lhs-1.2.1 lib/lhs/concerns/service/includes.rb
lhs-1.2.0 lib/lhs/concerns/service/includes.rb
lhs-1.1.0 lib/lhs/concerns/service/includes.rb
lhs-1.0.0 lib/lhs/concerns/service/includes.rb
lhs-0.4.0 lib/lhs/concerns/service/includes.rb
lhs-0.3.0 lib/lhs/concerns/service/includes.rb