class Adobe::Aem::Api

Attributes

context[R]

Public Class Methods

new(options = {}) click to toggle source
# File lib/adobe/aem/api.rb, line 19
def initialize(options = {})
  @context = Context.new
  @context.configuration = Configuration.new(options)
  @context.connector = Connector.new(@context)
end
proxy(name, klass) click to toggle source
# File lib/adobe/aem/api.rb, line 12
def proxy(name, klass)
  define_method name do
    klass.new(@context)
  end
end