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

enstratus

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enstratus

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

enstratus-ruby

This will soon be the gem to use for interacting with the enStratus API.

Currently Implemented GET operations (by resource group)

testing against enStratus SaaS api version 2012-02-29

  • Admin (all)
  • Anayltics (all)
  • Finance (all)
  • Geography (all)
  • Infrastructure (all)
  • Automation (deployment, tier)

status - 2012/05/06

I'm currently adding read-only support for all resources. The actual structure of a resource class may change.

HOWEVER

If you'd like to test against, your account:

(in an irb/pry session)

require 'enstratus'
require 'pp'

Enstratus.configure("/path/to/config.yaml")

Enstratus::Infrastructure::Server.all

# array of Enstratus::Infrastructure::Server objects returned

See lib/enstratus/infrastructure/ or lib/enstratus/geography for other resources currently done.

There is currently no error handling in place for calls that require query params. If you get some wonky errors, try

Enstratus::Geography::Region.all

# list of known regions returned

Enstratus::Infrastructure::MachineImage.all :regionId => some_region_id_from_above

# list of Machine Images returned

Again, currently read-only operations (so any GET call documented is implemented but not against all resources.

There's a small sample program in examples that shows what the current API I'm using to validate reads is. Likely to change.

FAQs

Package last updated on 06 May 2012

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