Module: Hapyrus
- Defined in:
- lib/hapyrus.rb,
lib/hapyrus/cli.rb,
lib/hapyrus/proxy.rb,
lib/hapyrus/helpers.rb,
lib/hapyrus/api_client.rb,
lib/hapyrus/credentials.rb,
lib/hapyrus/command/auth.rb,
lib/hapyrus/command/base.rb,
lib/hapyrus/command/jobs.rb,
lib/hapyrus/command/datasets.rb
Overview
library entry point
Defined Under Namespace
Modules: Command, Helpers Classes: ApiClient, Cli, Credentials, Proxy
Constant Summary collapse
- HAPYRUS_API_HOST =
ENV['HAPYRUS_API_HOST'] || 'www.hapyrus.com'
- @@proxy =
Hapyrus::Proxy.new
Class Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object (private)
14 15 16 17 |
# File 'lib/hapyrus.rb', line 14 def method_missing(method, *args) @@proxy.command_class = Hapyrus::Helpers.to_command_class(method.to_s) @@proxy end |
Class Method Details
.method_missing(method, *args) ⇒ Object
14 15 16 17 |
# File 'lib/hapyrus.rb', line 14 def method_missing(method, *args) @@proxy.command_class = Hapyrus::Helpers.to_command_class(method.to_s) @@proxy end |