Sha256: 56ad4e4f7ffcaec8198f3d448a1707028c2fd05b9462a25af36490294e5cb149
Contents?: true
Size: 482 Bytes
Versions: 1
Compression:
Stored size: 482 Bytes
Contents
lib = File.dirname __FILE__ Dir[File.join(lib, "service/**/*.rb")].each { |file| require file } module Hexx # Base class for service objects. class Service include Messages, Parameters, Transactions, Validations # Runs the service object. # # The method must be defined in a specific service class, # inherited from <tt>Hexx::Service</tt>. # def run fail NotImplementedError.new "#{ self.class.name }#run not implemented." end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hexx-2.0.1 | lib/hexx/service.rb |