Sha256: 08af873bfad6480319565f69aecd12ed8d30485b0c4159c8128572481c3eb3ee

Contents?: true

Size: 203 Bytes

Versions: 7

Compression:

Stored size: 203 Bytes

Contents

module AnsibleTowerClient
  class Group < BaseModel
    def self.endpoint
      "groups".freeze
    end

    def children
      Collection.new(api).find_all_by_url(related["children"])
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ansible_tower_client-0.5.0 lib/ansible_tower_client/base_models/group.rb
ansible_tower_client-0.4.1 lib/ansible_tower_client/base_models/group.rb
ansible_tower_client-0.4.0 lib/ansible_tower_client/base_models/group.rb
ansible_tower_client-0.3.3 lib/ansible_tower_client/group.rb
ansible_tower_client-0.3.2 lib/ansible_tower_client/group.rb
ansible_tower_client-0.3.1 lib/ansible_tower_client/group.rb
ansible_tower_client-0.3.0 lib/ansible_tower_client/group.rb