Class: Quark::Publisher::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/quark/publisher.rb

Instance Attribute Summary collapse

Instance Attribute Details

#base_uriObject

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

#passwordObject

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

#usernameObject

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_sslObject

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