0.0
No commit activity in last 3 years
No release in over 3 years
Ruby Wrapper for Egnine Yard API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 0
>= 0

Runtime

>= 0
 Project Readme

Obsolete¶ ↑

This repository is nearly oboslete. There is an official EY API client available here: github.com/engineyard/engineyard-cloud-client

The official API client has some better methods for finding records, will be better supported, and should contain most of the functionality of this repository.

Engineyard-API¶ ↑

Installation¶ ↑

… will usually be as simple as:

gem install engineyard-api

Or, if you downloaded the archive:

gem build engineyard-api
gem install engineyard-api-<version>

Usage & examples¶ ↑

Listing instances¶ ↑

require 'engineyard-api'
ey = EngineyardAPI.new(key: "API_KEY")
environment = ey.environment_by_name("Production")
environment.instances.each do |instance|
  puts instance.id
end
Multiple Accounts¶ ↑
require 'engineyard-api'
ey = Engineyard.new("API_KEY")
account1_environment = ey.account_by_name("Account1").environments.first
account2_environment = ey.account_by_id(1234).environment_by_name("production")
last_account_environment = ey.accounts.last.environment_by_id(4567)