athenian
A Ruby library for interacting with the Athenian API.
Generation
This library is automatically generated by OpenAPI Generator.
The version number of this gem corresponds to a tag in the Athenian OpenAPI specification repository.
Installation
Install the gem and add to the application's Gemfile by executing:
bundle add athenian
If bundler is not being used to manage dependencies, install the gem by executing:
gem install athenian
Getting Started
require 'athenian'
Athenian.configure do |config|
config.access_token = 'YOUR_BEARER_TOKEN'
config.access_token_getter = -> { 'YOUR TOKEN GETTER PROC' }
end
api_instance = Athenian::AlignApi.new
opts = {
body: Athenian::GoalTemplateCreateRequest.new({account: 37, metric: Athenian::JIRAMetricID::OPEN, name: 'Untitled Template'})
}
begin
result = api_instance.create_goal_template(opts)
p result
rescue Athenian::ApiError => e
puts "Exception when calling AlignApi->create_goal_template: #{e}"
end
Documentation
Tests
Autogenerated tests are in the spec
directory.
Be very wary of what the tests currently provide. Autogenerated tests from the OpenAPI generator generally have empty bodies.
Contributing
There's may not be not much to contribute here, but if you do find an issue with the code generation, dependencies, CI, or similar, please feel free to open a PR!
Code of Conduct
Everyone interacting with this project is expected to follow the code of conduct.
License
MIT