Sha256: 28a40bc9083413759bb56bef71cc5767fd4801cd35b43d5fa395b117d2e314ba
Contents?: true
Size: 541 Bytes
Versions: 14
Compression:
Stored size: 541 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(&block) return to_enum(:each) unless block get_all.each(&block) end end end end end require 'ecoportal/api/internal/policy_group'
Version data entries
14 entries across 14 versions & 1 rubygems