Class: Chirpstream::Connect::User::Basic

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, password) ⇒ Basic

Returns a new instance of Basic.



20
21
22
23
# File 'lib/chirpstream/connect.rb', line 20

def initialize(name, password)
  @name = name
  @password = password
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



19
20
21
# File 'lib/chirpstream/connect.rb', line 19

def name
  @name
end

#passwordObject (readonly)

Returns the value of attribute password.



19
20
21
# File 'lib/chirpstream/connect.rb', line 19

def password
  @password
end

Instance Method Details

#oauth?Boolean

Returns:

  • (Boolean)


25
26
27
# File 'lib/chirpstream/connect.rb', line 25

def oauth?
  false
end