Class: Quark::Publisher::Configuration
- Inherits:
-
Object
- Object
- Quark::Publisher::Configuration
- Defined in:
- lib/quark/publisher.rb
Instance Attribute Summary collapse
-
#base_uri ⇒ Object
The base uri for the Quark Publisher software.
-
#password ⇒ Object
Your password for the Quark Publisher software.
-
#username ⇒ Object
Your assigned username for the Quark Publisher software.
-
#verify_ssl ⇒ Object
If Quark Publisher library should verify ssl.
Instance Attribute Details
#base_uri ⇒ Object
The base uri for the Quark Publisher software
You can set the base uri in the configuration for this library.
Quark::Publisher.configure {|config| config.base_uri = ‘quarkendpoint.com/api/’}
80 81 82 |
# File 'lib/quark/publisher.rb', line 80 def base_uri @base_uri end |
#password ⇒ Object
Your password for the Quark Publisher software
You can set the password in the configuration for this library.
Quark::Publisher.configure {|config| config.password = ‘password’}
73 74 75 |
# File 'lib/quark/publisher.rb', line 73 def password @password end |
#username ⇒ Object
Your assigned username for the Quark Publisher software
You can set the username in the configuration for this library.
Quark::Publisher.configure {|config| config.username = ‘author1234’}
66 67 68 |
# File 'lib/quark/publisher.rb', line 66 def username @username end |
#verify_ssl ⇒ Object
If Quark Publisher library should verify ssl
You can set verify ssl in the configuration for this library. Defaults to true.
Quark::Publisher.configure {|config| config.verify_ssl = true}
87 88 89 |
# File 'lib/quark/publisher.rb', line 87 def verify_ssl @verify_ssl end |