Sha256: 553cef716f20c29ead596baeca85139e0dbe059bcc8183e3d3ba8311d8327759

Contents?: true

Size: 273 Bytes

Versions: 1

Compression:

Stored size: 273 Bytes

Contents

require 'httparty'

module GoogleAppsOauth2
  module Parsers
    class FeedParser < HTTParty::Parser
      SupportedFormats = {"application/atom+xml" => :atom}

      protected

      def atom
        GoogleAppsOauth2::Atom::Feed.new(body).items
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
google_apps_oauth2-0.1 lib/google_apps_oauth2/parsers/feed_parser.rb