Sha256: db93978bb2bbbe3407096a0c3126557ba431562f21cbab7ae5f674f4b01a8c43

Contents?: true

Size: 413 Bytes

Versions: 4

Compression:

Stored size: 413 Bytes

Contents

require 'stratify-gowalla/query'

module Stratify
  module Gowalla
    class Collector < Stratify::Collector
      source "Gowalla"

      configuration_fields :username => {:type => :string},
                           :password => {:type => :password}

      def activities
        query.activities
      end

      def query
        Stratify::Gowalla::Query.new(username, password)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stratify-gowalla-0.1.3 lib/stratify-gowalla/collector.rb
stratify-gowalla-0.1.2 lib/stratify-gowalla/collector.rb
stratify-gowalla-0.1.1 lib/stratify-gowalla/collector.rb
stratify-gowalla-0.1.0 lib/stratify-gowalla/collector.rb