Sha256: cbe9612f4bb45f779c7555d733601aa8d014af6e726e8b93b3981ae109f44eaa

Contents?: true

Size: 1.12 KB

Versions: 9

Compression:

Stored size: 1.12 KB

Contents

module Ecoportal
  module API
    class Internal < V1
      include Common::Logging

      VERSION = "v0".freeze
      class_resolver :people_class, "Ecoportal::API::Internal::People"
      class_resolver :person_schemas_class, "Ecoportal::API::Internal::PersonSchemas"

      class_resolver :policy_groups_class, "Ecoportal::API::Internal::PolicyGroups"
      class_resolver :login_providers_class, "Ecoportal::API::Internal::LoginProviders"

      # Obtain specific object for policy groups api requests.
      # @return [PolicyGroups] an instance object ready to make policy groups api requests.
      def policy_groups
        policy_groups_class.new(client)
      end

      # Obtain specific object for login providers api requests.
      # @return [LoginProviders] an instance object ready to make login providers api requests.
      def login_providers
        login_providers_class.new(client)
      end
    end
  end
end

require 'ecoportal/api/internal/person_schemas'
require 'ecoportal/api/internal/policy_groups'
require 'ecoportal/api/internal/login_providers'
require 'ecoportal/api/internal/people'

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ecoportal-api-0.10.8 lib/ecoportal/api/internal.rb
ecoportal-api-0.10.7 lib/ecoportal/api/internal.rb
ecoportal-api-0.10.6 lib/ecoportal/api/internal.rb
ecoportal-api-0.10.5 lib/ecoportal/api/internal.rb
ecoportal-api-0.10.4 lib/ecoportal/api/internal.rb
ecoportal-api-0.10.3 lib/ecoportal/api/internal.rb
ecoportal-api-0.10.2 lib/ecoportal/api/internal.rb
ecoportal-api-0.10.1 lib/ecoportal/api/internal.rb
ecoportal-api-0.10.0 lib/ecoportal/api/internal.rb