lib/twitterland/foller_me.rb in twitterland-0.4.5 vs lib/twitterland/foller_me.rb in twitterland-0.4.6
- old
+ new
@@ -52,10 +52,10 @@
# font_max => 20
def self.terms(username, options={})
options = options.to_hash.to_mash
terms = options.delete('terms')
terms ||= 'all'
- result = Mash.new get("/#{username}/#{terms}.json", :query => options)
+ result = Hashie::Mash.new get("/#{username}/#{terms}.json", :query => options)
case terms
when 'all'
result.topics ||= result.delete('terms_topics')
result.mentions ||= result.delete('terms_mentions')
result.hashtags ||= result.delete('terms_hashtags')
\ No newline at end of file