class JIRA::HttpClient
Extend jira-ruby for command line interface.
Public Instance Methods
make_request(http_method, path, body = '', headers = {})
click to toggle source
# File lib/terjira/ext/jira_ruby.rb, line 11 def make_request(http_method, path, body = '', headers = {}) title = Pastel.new.dim(http_method.to_s.upcase) spinner = TTY::Spinner.new ":spinner #{title}", format: :dots, clear: true result = nil spinner.run do result = origin_make_request(http_method, path, body, headers) end result end
Also aliased as: origin_make_request