Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

athenian

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

athenian

  • 2.1.86
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 28 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc