Class: RoboPigeon::Jenkins::Client
- Inherits:
-
Object
- Object
- RoboPigeon::Jenkins::Client
- Defined in:
- lib/robopigeon/jenkins/client.rb
Class Attribute Summary collapse
-
.enabled ⇒ Object
Returns the value of attribute enabled.
-
.token ⇒ Object
Returns the value of attribute token.
-
.url ⇒ Object
Returns the value of attribute url.
-
.user ⇒ Object
Returns the value of attribute user.
Class Method Summary collapse
Class Attribute Details
.enabled ⇒ Object
Returns the value of attribute enabled.
8 9 10 |
# File 'lib/robopigeon/jenkins/client.rb', line 8 def enabled @enabled end |
.token ⇒ Object
Returns the value of attribute token.
8 9 10 |
# File 'lib/robopigeon/jenkins/client.rb', line 8 def token @token end |
.url ⇒ Object
Returns the value of attribute url.
8 9 10 |
# File 'lib/robopigeon/jenkins/client.rb', line 8 def url @url end |
.user ⇒ Object
Returns the value of attribute user.
8 9 10 |
# File 'lib/robopigeon/jenkins/client.rb', line 8 def user @user end |
Class Method Details
.client ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/robopigeon/jenkins/client.rb', line 9 def client @client ||= JenkinsApi::Client.new( server_url: url, username: user, password: token ) end |