Class: ATProto::Credentials

Inherits:
Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/at_protocol/session.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(username, pw, pds = "https://bsky.social") ⇒ Credentials



9
10
11
12
# File 'lib/at_protocol/session.rb', line 9

def initialize(username, pw, pds = "https://bsky.social")
  super
  self.pds ||= "https://bsky.social"
end

Instance Attribute Details

#pdsObject

Returns the value of attribute pds



4
5
6
# File 'lib/at_protocol/session.rb', line 4

def pds
  @pds
end

#pwObject

Returns the value of attribute pw



4
5
6
# File 'lib/at_protocol/session.rb', line 4

def pw
  @pw
end

#usernameObject

Returns the value of attribute username



4
5
6
# File 'lib/at_protocol/session.rb', line 4

def username
  @username
end