module Ecoportal module API class V1 include Common::Logging attr_reader :client, :logger def initialize(api_key, host: "live.ecoportal.com", logger: default_logger) @logger = logger @client = Common::Client.new( api_key: api_key, host: host, version: "v1", logger: @logger ) end def people V1::People.new(client) end def person_schemas V1::PersonSchemas.new(client) end end end end require 'ecoportal/api/v1/people' require 'ecoportal/api/v1/person_schemas'