module Ecoportal module API class V1 attr_reader :client def initialize(api_key, host: "live.ecoportal.com") @client = Common::Client.new( api_key: api_key, host: host, version: "v1" ) 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'