module Ecoportal module API class V1 class PersonSchemas attr_reader :client def initialize(client) @client = client end def get_all response = @client.get("/person_schemas") Common::WrappedResponse.new(response, person_schema_class) end private def person_schema_class V1::PersonSchema end end end end end require 'ecoportal/api/v1/person_schema'