Project

athenian

0.0
No release in over a year
Learn about engineering metrics and improve your software delivery performance with the Athenian API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.6, >= 3.6.0
~> 0.66.0

Runtime

~> 1.0, >= 1.0.1
 Project Readme

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|
  # Configure Bearer authorization from https://app.athenian.co/bearer
  config.access_token = 'YOUR_BEARER_TOKEN'
  # Configure a proc to get access tokens in lieu of the static access_token configuration
  config.access_token_getter = -> { 'YOUR TOKEN GETTER PROC' }
end

# Example
api_instance = Athenian::AlignApi.new
opts = {
  body: Athenian::GoalTemplateCreateRequest.new({account: 37, metric: Athenian::JIRAMetricID::OPEN, name: 'Untitled Template'})
}

begin
  #👤 Create a goal template.
  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