Sha256: 54afac06f9f41e4051940fa883336e98e34f765f1ead58dabfddd2fb4f594380

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

module Sifterology
  
  class Session
    
    attr_reader :account_url, :token, :partner_token
    
    def initialize(account_url, token, options={})
      @account_url   = account_url
      @token         = token
      @partner_token = options[:partner_token]
    end
    
    def projects
      ProjectFactory.new(self)
    end
    
    def commits
      CommitFactory.new(self)
    end
    
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sifterology-0.1.1 lib/sifterology/session.rb