Class: Presenters::AnsibleRolePresenter
- Inherits:
-
Object
- Object
- Presenters::AnsibleRolePresenter
- Defined in:
- app/graphql/presenters/ansible_role_presenter.rb
Instance Attribute Summary collapse
-
#ansible_role ⇒ Object
readonly
Returns the value of attribute ansible_role.
-
#inherited ⇒ Object
readonly
Returns the value of attribute inherited.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ansible_role, inherited) ⇒ AnsibleRolePresenter
constructor
A new instance of AnsibleRolePresenter.
Constructor Details
#initialize(ansible_role, inherited) ⇒ AnsibleRolePresenter
Returns a new instance of AnsibleRolePresenter.
11 12 13 14 |
# File 'app/graphql/presenters/ansible_role_presenter.rb', line 11 def initialize(ansible_role, inherited) @ansible_role = ansible_role @inherited = inherited end |
Instance Attribute Details
#ansible_role ⇒ Object (readonly)
Returns the value of attribute ansible_role.
3 4 5 |
# File 'app/graphql/presenters/ansible_role_presenter.rb', line 3 def ansible_role @ansible_role end |
#inherited ⇒ Object (readonly)
Returns the value of attribute inherited.
3 4 5 |
# File 'app/graphql/presenters/ansible_role_presenter.rb', line 3 def inherited @inherited end |
Class Method Details
.graphql_type ⇒ Object
7 8 9 |
# File 'app/graphql/presenters/ansible_role_presenter.rb', line 7 def self.graphql_type 'Types::InheritedAnsibleRole' end |