Module: MgmtConsole
- Extended by:
- Configurable
- Defined in:
- lib/mgmt_console.rb,
lib/mgmt_console/error.rb,
lib/mgmt_console/client.rb,
lib/mgmt_console/default.rb,
lib/mgmt_console/version.rb,
lib/mgmt_console/api_error.rb,
lib/mgmt_console/configurable.rb,
lib/mgmt_console/authentication.rb,
lib/mgmt_console/response/feed_parser.rb,
lib/mgmt_console/response/raise_error.rb,
lib/mgmt_console/client/engage_servers.rb,
lib/mgmt_console/client/spigit_configs.rb,
lib/mgmt_console/client/engage_instances.rb,
lib/mgmt_console/client/engage_communities.rb,
lib/mgmt_console/client/engage_environments.rb,
lib/mgmt_console/client/server_environments.rb
Overview
Ruby toolkit for the Mgmt Console API
Defined Under Namespace
Modules: Authentication, Configurable, Default, Response Classes: AbuseDetected, ApiError, ApplicationCredentialsRequired, BadGateway, BadRequest, Client, ClientError, Conflict, Error, Forbidden, InternalServerError, MethodNotAllowed, MissingContentType, NotAcceptable, NotFound, NotImplemented, OneTimePasswordRequired, RepositoryUnavailable, ServerError, ServiceUnavailable, TooManyLoginAttempts, TooManyRequests, Unauthorized, UnprocessableEntity, UnsupportedMediaType
Constant Summary collapse
- VERSION =
"0.4.2"
Instance Attribute Summary
Attributes included from Configurable
#access_token, #api_endpoint, #auto_paginate, #client_id, #client_secret, #connection_options, #default_media_type, #login, #middleware, #netrc, #netrc_file, #password, #per_page, #proxy, #ssl_verify, #user_agent, #web_endpoint
Class Method Summary collapse
-
.client ⇒ MgmtConsole::Client
API client based on configured options Configurable.
Instance Method Summary collapse
- #respond_to?(method_name, include_private = false) ⇒ Boolean
- #respond_to_missing?(method_name, include_private = false) ⇒ Boolean
Methods included from Configurable
Class Method Details
.client ⇒ MgmtConsole::Client
API client based on configured options Configurable
13 14 15 16 |
# File 'lib/mgmt_console.rb', line 13 def client @client = MgmtConsole::Client.new() unless defined?(@client) && @client.() @client end |
Instance Method Details
#respond_to?(method_name, include_private = false) ⇒ Boolean
21 |
# File 'lib/mgmt_console.rb', line 21 def respond_to?(method_name, include_private=false); client.respond_to?(method_name, include_private) || super; end |
#respond_to_missing?(method_name, include_private = false) ⇒ Boolean
19 |
# File 'lib/mgmt_console.rb', line 19 def respond_to_missing?(method_name, include_private=false); client.respond_to?(method_name, include_private); end |