module Ecoportal module API class Internal 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: "v0", logger: @logger ) end def people Internal::People.new(client) end def person_schemas Internal::PersonSchemas.new(client) end def policy_groups Internal::PolicyGroups.new(client) end def login_providers Internal::LoginProviders.new(client) end end end end require 'ecoportal/api/internal/people' require 'ecoportal/api/internal/person_schemas' require 'ecoportal/api/internal/policy_groups' require 'ecoportal/api/internal/login_providers'