class MotherBrain::InvalidDynamicService

Public Class Methods

new(component, service_name) click to toggle source
# File lib/mb/errors.rb, line 487
def initialize(component, service_name)
  @component = component
  @service_name = service_name
end

Public Instance Methods

message() click to toggle source
# File lib/mb/errors.rb, line 492
def message
  msg = "Both component: #{@component} and service name: #{@service_name} are required."
  msg << "\nFormat should be in a dotted form - COMPONENT.SERVICE"
end