Class: Listo::Client
- Inherits:
-
Object
- Object
- Listo::Client
- Defined in:
- lib/listo/client.rb
Instance Attribute Summary collapse
-
#cert ⇒ Object
readonly
Returns the value of attribute cert.
-
#cert_file ⇒ Object
Returns the value of attribute cert_file.
-
#connection ⇒ Object
readonly
Returns the value of attribute connection.
-
#pkey ⇒ Object
readonly
Returns the value of attribute pkey.
-
#pkey_file ⇒ Object
Returns the value of attribute pkey_file.
-
#pkey_passphrase ⇒ Object
Returns the value of attribute pkey_passphrase.
-
#token ⇒ Object
Returns the value of attribute token.
Class Method Summary collapse
Instance Attribute Details
#cert ⇒ Object (readonly)
Returns the value of attribute cert.
8 9 10 |
# File 'lib/listo/client.rb', line 8 def cert @cert end |
#cert_file ⇒ Object
Returns the value of attribute cert_file.
10 11 12 |
# File 'lib/listo/client.rb', line 10 def cert_file @cert_file end |
#connection ⇒ Object (readonly)
Returns the value of attribute connection.
8 9 10 |
# File 'lib/listo/client.rb', line 8 def connection @connection end |
#pkey ⇒ Object (readonly)
Returns the value of attribute pkey.
8 9 10 |
# File 'lib/listo/client.rb', line 8 def pkey @pkey end |
#pkey_file ⇒ Object
Returns the value of attribute pkey_file.
10 11 12 |
# File 'lib/listo/client.rb', line 10 def pkey_file @pkey_file end |
#pkey_passphrase ⇒ Object
Returns the value of attribute pkey_passphrase.
10 11 12 |
# File 'lib/listo/client.rb', line 10 def pkey_passphrase @pkey_passphrase end |
#token ⇒ Object
Returns the value of attribute token.
10 11 12 |
# File 'lib/listo/client.rb', line 10 def token @token end |
Class Method Details
.configure {|@client = new| ... } ⇒ Object
22 23 24 25 26 |
# File 'lib/listo/client.rb', line 22 def self.configure(&config) yield @client = new @client end |
.current ⇒ Object
18 19 20 |
# File 'lib/listo/client.rb', line 18 def self.current @client end |