lib/recurly.rb in recurly-0.3.1 vs lib/recurly.rb in recurly-0.3.2
- old
+ new
@@ -84,7 +84,15 @@
c.username = config_data['username']
c.password = config_data['password']
c.site = config_data['site']
end
end
+
+ def current_accept_language
+ Thread.current[:recurly_accept_language]
+ end
+
+ def current_accept_language=(accept_language)
+ Thread.current[:recurly_accept_language] = accept_language
+ end
end
end
\ No newline at end of file