Class: StashCoreAPI::Client
- Inherits:
-
Object
- Object
- StashCoreAPI::Client
- Includes:
- StashCoreAPI, Utils
- Defined in:
- lib/stash_core_api/client.rb
Overview
Client to interact with Atlassian Stash CoreAPI API
Constant Summary
Constants included from StashCoreAPI
Instance Attribute Summary collapse
-
#pass ⇒ Object
Returns the value of attribute pass.
-
#project ⇒ Object
Returns the value of attribute project.
-
#repository ⇒ Object
Returns the value of attribute repository.
-
#stash_url ⇒ Object
Returns the value of attribute stash_url.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Object
constructor
Initializes a new Client object.
Methods included from PullRequests
Methods included from Commits
Constructor Details
#initialize(options = {}) ⇒ Object
Initializes a new Client object
16 17 18 19 20 |
# File 'lib/stash_core_api/client.rb', line 16 def initialize( = {}) .each do |key, value| instance_variable_set("@#{key}", value) end end |
Instance Attribute Details
#pass ⇒ Object
Returns the value of attribute pass.
10 11 12 |
# File 'lib/stash_core_api/client.rb', line 10 def pass @pass end |
#project ⇒ Object
Returns the value of attribute project.
10 11 12 |
# File 'lib/stash_core_api/client.rb', line 10 def project @project end |
#repository ⇒ Object
Returns the value of attribute repository.
10 11 12 |
# File 'lib/stash_core_api/client.rb', line 10 def repository @repository end |
#stash_url ⇒ Object
Returns the value of attribute stash_url.
10 11 12 |
# File 'lib/stash_core_api/client.rb', line 10 def stash_url @stash_url end |
#user ⇒ Object
Returns the value of attribute user.
10 11 12 |
# File 'lib/stash_core_api/client.rb', line 10 def user @user end |