Sha256: fbfcf51b87ae85298cb484da26fd624e7a1541ead787f34365328a80857d3ab1
Contents?: true
Size: 523 Bytes
Versions: 8
Compression:
Stored size: 523 Bytes
Contents
module Ecoportal module API class Internal class PolicyGroups include Enumerable attr_reader :client def initialize(client) @client = client end def get_all response = @client.get("/policy_groups") Common::WrappedResponse.new(response, Internal::PolicyGroup) end def each(params: {}, &block) get_all.each(&block) self end end end end end require 'ecoportal/api/internal/policy_group'
Version data entries
8 entries across 8 versions & 1 rubygems