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

sixer

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sixer

  • 0.3.0.pre.alpha
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

sixer

Unofficial Ruby gem for Cloud66 API

Installation

Add sixer to your Gemfile

gem 'sixer'

And bundle install

bundle install

Usage

# A Cloud 66 Personal Access Token can be obtained here https://app.cloud66.com/oauth/authorized_applications
personal_access_token = ENV['CLOUD66_PERSONAL_ACCESS_TOKEN']

# Retrieve stacks
sixer = Sixer.new(personal_access_token)
stacks = sixer.stacks

# Print a stack's environment variables
acme_stack = stacks.all.detect { |stack| stack.name == "Acme" }.environment_variable
acme_stack.environment_variables.each_in_all_pages do |env_var|
  key, value = env_var.properties.values_at("key", "value")
  puts "#{key}=#{value}
end

Todos

  • Port rspecs here
  • Modify sixer to obtain the personal access token the from the CLOUD66_PERSONAL_ACCESS_TOKEN environment variable if the environment variable is set
  • Add support for more Cloud 66 API resources
  • Add ability to update a resource's properties
  • Add ability to create a resource

FAQs

Package last updated on 02 Oct 2022

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