class RenderAPI::Client

Attributes

api_key[R]

Public Class Methods

new(api_key) click to toggle source
# File lib/render_api/client.rb, line 9
def initialize(api_key)
  @api_key = api_key
end

Public Instance Methods

deploys() click to toggle source
# File lib/render_api/client.rb, line 13
def deploys
  @deploys ||= Clients::Deploys.new(endpoint)
end
services() click to toggle source
# File lib/render_api/client.rb, line 17
def services
  @services ||= Clients::Services.new(endpoint)
end

Private Instance Methods

endpoint() click to toggle source
# File lib/render_api/client.rb, line 25
def endpoint
  @endpoint = Endpoint.new(api_key)
end