Sha256: a5db37ed1e21cf99bc550780a0e4601070441fb9a5b04be3753316c2cd466eba
Contents?: true
Size: 444 Bytes
Versions: 1
Compression:
Stored size: 444 Bytes
Contents
require 'engineyard-serverside/callbacks/hooks/base' module EY module Serverside module Callbacks module Hooks class Service < Base attr_reader :service_name def initialize(file_path) super @service_name = path.dirname.basename.to_s end def to_s "service/#{service_name}/#{callback_name}" end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
engineyard-serverside-2.7.0.pre | lib/engineyard-serverside/callbacks/hooks/service.rb |