class Tinybucket::Api::IssuesApi
Issues Api
client
@!attribute [rw] repo_owner
@return [String] repository owner name.
@!attribute [rw] repo_slug
@return [String] {https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D repo_slug}.
Attributes
repo_owner[RW]
repo_slug[RW]
Public Instance Methods
find(name, options = {})
click to toggle source
Send 'GET an individual issue' request
GET an individual issue
@param name [String] The issue name @param options [Hash] @return [Tinybucket::Model::Issue]
# File lib/tinybucket/api/issues_api.rb, line 54 def find(name, options = {}) get_path( path_to_find(name), options, get_parser(:object, Tinybucket::Model::Issue) ) end
list(options = {})
click to toggle source
Send 'GET a issues list for a repository' request
GET a issues list for a repository
@param options [Hash] @return [Tinybucket::Model::Page]
# File lib/tinybucket/api/issues_api.rb, line 23 def list(options = {}) get_path( path_to_list, options, get_parser(:collection, Tinybucket::Model::Issue) ) end
post(options)
click to toggle source
Send 'POST a build status for a commit' request
@param revision [String] @param key [String] @param options [Hash] @return [Tinybucket::Model::Issue]
# File lib/tinybucket/api/issues_api.rb, line 38 def post(options) post_path( base_path, options, get_parser(:object, Tinybucket::Model::Issue) ) end