lib/linked_in/mash.rb
# overload the convert_key mash method so that the LinkedIn
# keys are made a little more ruby-ish
overload the convert_key mash method so that the LinkedIn
keys are made a little more ruby-ish
overload the convert_key mash method so that the LinkedIn keys are made a little more ruby - ish
def convert_key(key)
        case key.to_s
        when '_total'
          'total'
        when 'values'
          'all'
        when 'numResults'
          'total_results'
        else
          underscore(key)
        end
      end
def convert_key ( key ) case key . to_s when '_total' 'total' when 'values' 'all' when 'numResults' 'total_results' else underscore ( key ) end end
overload the convert_key mash method so that the LinkedIn
keys are made a little more ruby-ish
overload the convert_key mash method so that the LinkedIn keys are made a little more ruby - ish
key
<not_specific>