Sha256: 2ebbbba77a55c44ba98976e077e1921c6bcf89cf4dc1f97be95d0f225674bd78
Contents?: true
Size: 471 Bytes
Versions: 19
Compression:
Stored size: 471 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
19 entries across 19 versions & 4 rubygems