Sha256: 52338602dbccbf1117e3449ce74e3204f3cc0ff833af10239dd93758f7458449

Contents?: true

Size: 453 Bytes

Versions: 1

Compression:

Stored size: 453 Bytes

Contents

module LinkedIn
  module Api
    module GroupMethods
      
      def groups(options={})
        path = "#{person_path(options)}/group-memberships?membership-state=member"
        group_mash = simple_query(path, options)
        group_mash.all
      end

      def suggested_groups(options={})
        path   = "#{person_path(options)}/suggestions/groups"
        simple_query(path, options)
      end

    end # GroupMethods
  end # Api
end # LinkedIn

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
linkedin-drspin-0.3.6 lib/linked_in/api/group_methods.rb