Sha256: 18f1b8a0d5713e714dbf16b54f84c9caefece34e028776e8da5948ac4b886fcb
Contents?: true
Size: 234 Bytes
Versions: 2
Compression:
Stored size: 234 Bytes
Contents
module AnsibleTowerClient class Group < BaseModel def self.endpoint "groups".freeze end def children self.class.collection_for(api.get(File.join(self.class.endpoint, id.to_s, "children"))) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ansible_tower_client-0.2.0 | lib/ansible_tower_client/group.rb |
ansible_tower_client-0.1.0 | lib/ansible_tower_client/group.rb |