Module: Harvest::Plugins::ActiveResourceInheritableHeaders
- Included in:
- HarvestResource
- Defined in:
- lib/harvest/plugins/active_resource_inheritable_headers.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
25 26 27 28 29 30 31 32 |
# File 'lib/harvest/plugins/active_resource_inheritable_headers.rb', line 25 def self.included(klass) klass.instance_eval do klass.extend ClassMethods class << self alias_method :headers, :inheritable_headers end end end |