1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

remove HTTParty namespace for included module

This commit is contained in:
Ruslan Korolev 2014-12-25 12:58:37 +03:00
parent 987a1cb816
commit 538db41b5e

View file

@ -19,7 +19,7 @@ module HTTParty
def self.included(base)
base.extend ClassMethods
base.send :include, HTTParty::ModuleInheritableAttributes
base.send :include, ModuleInheritableAttributes
base.send(:mattr_inheritable, :default_options)
base.send(:mattr_inheritable, :default_cookies)
base.instance_variable_set("@default_options", {})