Sha256: 3661d2ff97a58c38cc3a9685743d68d8d5b8c74bde7adc653e72e77abe064324

Contents?: true

Size: 145 Bytes

Versions: 3

Compression:

Stored size: 145 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ansible_tower_client-0.8.0 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.7.0 lib/ansible_tower_client/base_models/host.rb
ansible_tower_client-0.6.0 lib/ansible_tower_client/base_models/host.rb