Sha256: 313c20436ae4ea2d74af52e7499eec47592606f3d780a3beba26a6302c64821a

Contents?: true

Size: 180 Bytes

Versions: 11

Compression:

Stored size: 180 Bytes

Contents

module ServiceController::Service
  extend ActiveSupport::Concern

  included do
    helper_method :service_class
  end

  def service_class
    self.class.service_class
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rails-add_ons-3.0.0.pre1 app/concerns/service_controller/service.rb
rails-add_ons-2.2.1 app/concerns/service_controller/service.rb
rails-add_ons-2.2.0 app/concerns/service_controller/service.rb
rails-add_ons-2.1.1 app/concerns/service_controller/service.rb
rails-add_ons-2.1.0 app/concerns/service_controller/service.rb
rails-add_ons-2.0.2 app/concerns/service_controller/service.rb
rails-add_ons-2.0.1 app/concerns/service_controller/service.rb
rails-add_ons-2.0.0 app/concerns/service_controller/service.rb
rails-add_ons-1.5.2 app/concerns/service_controller/service.rb
rails-add_ons-1.5.1 app/concerns/service_controller/service.rb
rails-add_ons-1.5.0 app/concerns/service_controller/service.rb