Skip to content

Instantly share code, notes, and snippets.

@takp
Last active May 9, 2016 13:38
Show Gist options
  • Save takp/902c0d4017990818d3b9a3f94067b657 to your computer and use it in GitHub Desktop.
Save takp/902c0d4017990818d3b9a3f94067b657 to your computer and use it in GitHub Desktop.
simple-oauth-subclass.rb
class ExtendedSimpleOAuth > SimpleOAuth::Header
class >> self
def escape(value)
return value if value == 'filter[post_status]'
super
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment