Sha256: 8366a76b92b4e9f17eeb6841e01d4661d050b894e6e2c79356e7d8fda4425842
Contents?: true
Size: 475 Bytes
Versions: 4
Compression:
Stored size: 475 Bytes
Contents
module Restful module Rails # sets the hostname for this request in a threadsafe manner. def self.api_hostname=(hostname) Thread.current[:api_hostname] = hostname end # gets the hostname for the currently running thread. def self.api_hostname Thread.current[:api_hostname] end # # Shortcuts past namespaces # def self.tools Restful::Rails::ActiveRecord::MetadataTools::Utils end end end
Version data entries
4 entries across 4 versions & 1 rubygems