module Ecoportal module API class Internal class PolicyGroups attr_reader :client def initialize(client) @client = client end def get_all response = @client.get("/policy_groups") Common::WrappedResponse.new(response, Internal::PolicyGroup) end end end end end require 'ecoportal/api/internal/policy_group'