Class: Chirpstream::Connect::User

Inherits:
Object
  • Object
show all
Defined in:
lib/chirpstream/connect.rb

Defined Under Namespace

Classes: Basic, Oauth

Class Method Summary collapse

Class Method Details

.basic(name, password) ⇒ Object



34
35
36
# File 'lib/chirpstream/connect.rb', line 34

def self.basic(name, password)
  Basic.new(name, password)
end

.oauth(access_token, access_secret, name = nil) ⇒ Object



30
31
32
# File 'lib/chirpstream/connect.rb', line 30

def self.oauth(access_token, access_secret, name = nil)
  Oauth.new(access_token, access_secret, name)
end