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

elasticweb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elasticweb

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

ElasticWeb ruby client library

Client library for talking to Elasticweb API. Supports all endpoints.

Installation

Add this line to your application's Gemfile:

gem 'elasticweb'

And then execute:

$ bundle

Or install it yourself as:

$ gem install elasticweb

Usage

Initialize client:

client = ElasticWeb::Client.new('API_KEY')

And then talk to API:

client.me

List of all methods

Client methods just map 1 to 1 to API, see all of them beyond. Check API docs for list of available options.

User
me
Account
accounts
create_account(options)
update_account(id, options)
delete_account(id)
Account cron
update_cron(id, options)
Server
servers
Alias
aliases(account_id)
create_alias(account_id, options)
update_alias(alias_name, options)
delete_alias(alias_name)
Domain
domains(account_id)
create_domain(account_id, options)
update_domain(domain_name, options)
delete_domain(domain_name)
DNS
domain_dns(domain_name)
dns(id)
create_dns(domain_name, options)
delete_dns(id)
Database
databases(account_id)
create_database(account_id, options)
delete_database(account_id, db_name)
Database user
databases_users(account_id)
database_user_info(account_id, db_user_name)
create_database_user(account_id, options)
update_database_user(account_id, db_user_name, options)
delete_database_user(account_id, db_user_name)
Billing
operation_types
operations(type_name)

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/dev1vitaly/elasticweb.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 08 Jun 2016

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