Class: RenderAPI::Client
- Inherits:
-
Object
- Object
- RenderAPI::Client
- Defined in:
- lib/render_api/client.rb
Instance Method Summary collapse
- #deploys ⇒ Object
- #domains ⇒ Object
-
#initialize(api_key) ⇒ Client
constructor
A new instance of Client.
- #jobs ⇒ Object
- #owners ⇒ Object
- #services ⇒ Object
Constructor Details
#initialize(api_key) ⇒ Client
Returns a new instance of Client.
12 13 14 |
# File 'lib/render_api/client.rb', line 12 def initialize(api_key) @api_key = api_key end |
Instance Method Details
#deploys ⇒ Object
16 17 18 |
# File 'lib/render_api/client.rb', line 16 def deploys @deploys ||= Clients::Deploys.new(endpoint) end |
#domains ⇒ Object
20 21 22 |
# File 'lib/render_api/client.rb', line 20 def domains @domains ||= Clients::Domains.new(endpoint) end |
#jobs ⇒ Object
24 25 26 |
# File 'lib/render_api/client.rb', line 24 def jobs @jobs ||= Clients::Jobs.new(endpoint) end |