Class: Types::InheritedAnsibleRole

Inherits:
AnsibleRole
  • Object
show all
Defined in:
app/graphql/types/inherited_ansible_role.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.record_for(object) ⇒ Object



5
6
7
# File 'app/graphql/types/inherited_ansible_role.rb', line 5

def self.record_for(object)
  object.ansible_role
end

Instance Method Details

#load_objectObject



13
14
15
# File 'app/graphql/types/inherited_ansible_role.rb', line 13

def load_object
  object.ansible_role
end

#object_classObject



9
10
11
# File 'app/graphql/types/inherited_ansible_role.rb', line 9

def object_class
  object.ansible_role.class
end