Skip to content

Instantly share code, notes, and snippets.

@danielcooper
Created August 12, 2012 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielcooper/3332112 to your computer and use it in GitHub Desktop.
Save danielcooper/3332112 to your computer and use it in GitHub Desktop.
Included
module HTTParty
def self.included(base)
base.extend ClassMethods
#snip
base.instance_variable_set("@default_options", {})
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment