Sha256: 311f4bcf75ade7707b122b34c97e27927811b01bd2f44972cb6c66e485a3dca6
Contents?: true
Size: 678 Bytes
Versions: 1
Compression:
Stored size: 678 Bytes
Contents
module RemoteResource module UrlNaming extend ActiveSupport::Concern included do class_attribute :site, :version, :path_prefix, :path_postfix, :collection_prefix, :collection, :collection_name, instance_accessor: false self.collection = false end module ClassMethods def app_host(*_) warn '[DEPRECATION] `.app_host` is deprecated. Please use a different method to determine the site.' end def base_url warn '[DEPRECATION] `.base_url` is deprecated. Please use the connection_options[:base_url] when querying instead.' end def use_relative_model_naming? true end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ddy_remote_resource-1.0.0.rc1 | lib/remote_resource/url_naming.rb |