Sha256: a1b7d868493a1ba94a4a76170e58c71a2d192b82dfe9db9ad61b90b8d17739e8

Contents?: true

Size: 291 Bytes

Versions: 14

Compression:

Stored size: 291 Bytes

Contents

module GoogleContactsApi
  class GroupSet < GoogleContactsApi::ResultSet
    # Populate from a response that contains contacts
    def initialize(response_body, api = nil)
      super
      @results = @parsed.feed.entry.map { |e| GoogleContactsApi::Group.new(e, nil, api) }
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
google_contacts_api-0.4.1 lib/google_contacts_api/group_set.rb
google_contacts_api-0.4.0 lib/google_contacts_api/group_set.rb
google_contacts_api-0.3.3 lib/google_contacts_api/group_set.rb
google_contacts_api-0.3.2 lib/google_contacts_api/group_set.rb
google_contacts_api-0.3.1 lib/google_contacts_api/group_set.rb
google_contacts_api-0.3.0 lib/google_contacts_api/group_set.rb
google_contacts_api-0.2.7 lib/google_contacts_api/group_set.rb
google_contacts_api-0.2.6 lib/google_contacts_api/group_set.rb
google_contacts_api-0.2.5 lib/google_contacts_api/group_set.rb
google_contacts_api-0.2.4 lib/google_contacts_api/group_set.rb
google_contacts_api-0.2.3 lib/google_contacts_api/group_set.rb
google_contacts_api-0.2.2 lib/google_contacts_api/group_set.rb
google_contacts_api-0.2.1 lib/google_contacts_api/group_set.rb
google_contacts_api-0.2.0 lib/google_contacts_api/group_set.rb