class Woodpecker::Configuration
Attributes
api_key[W]
Woodpecker
API uses HTTP Basic Authentication where the token is the username and password can be anything. Weird.
dummy_password[W]
Woodpecker
API uses HTTP Basic Authentication where the token is the username and password can be anything. Weird.
Public Class Methods
new()
click to toggle source
# File lib/woodpecker/configuration.rb, line 9 def initialize @api_key = nil @dummy_password = nil end
Public Instance Methods
api_key()
click to toggle source
# File lib/woodpecker/configuration.rb, line 14 def api_key raise Errors::Configuration, 'Woodpecker API key missing!' unless @api_key @api_key end
dummy_password()
click to toggle source
# File lib/woodpecker/configuration.rb, line 19 def dummy_password @dummy_password ||= "X" end