Sha256: 9ed4e09965be2cc150ae4324e468122ec75cd94c9c3cc6eb52059abf16733b4a

Contents?: true

Size: 162 Bytes

Versions: 21

Compression:

Stored size: 162 Bytes

Contents

module AnsibleTowerClient
  class Host < BaseModel
    def groups
      Collection.new(api, api.group_class).find_all_by_url(related["groups"])
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ansible_tower_client-0.21.3 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.21.2 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.21.1 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.21.0 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.20.2 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.20.1 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.20.0 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.19.1 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.19.0 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.18.0 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.17.0 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.16.0 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.15.0 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.14.0 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.13.0 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.12.2 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.12.1 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.12.0 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.11.0 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.10.0 lib/ansible_tower_client/base_models/host.rb