Class: RServiceBus2::AppResourceFile

Inherits:
AppResource show all
Defined in:
lib/rservicebus2/appresource/file.rb

Overview

App Resource File

Instance Attribute Summary

Attributes inherited from AppResource

#connection

Instance Method Summary collapse

Methods inherited from AppResource

#_connect, #begin, #commit, #finished, #get_resource, #initialize, #reconnect, #rollback

Constructor Details

This class inherits a constructor from RServiceBus2::AppResource

Instance Method Details

#connect(uri) ⇒ Object



4
5
6
# File 'lib/rservicebus2/appresource/file.rb', line 4

def connect(uri)
  File.new(uri.path)
end