Sha256: 741a17fb2b954f901e3c153f832dfbac8deab760b2c75eacad4e2fe5d6ec95c4

Contents?: true

Size: 258 Bytes

Versions: 56

Compression:

Stored size: 258 Bytes

Contents

module Resolvers
  module AnsibleVariable
    class Path < Resolvers::BaseResolver
      type String, null: false

      def resolve
        Rails.application.routes.url_helpers.edit_ansible_variable_path(object.ansible_variable)
      end
    end
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
foreman_ansible-15.0.2 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-15.0.1 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-15.0.0 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-14.2.2 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-14.2.1 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-13.0.7 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-14.2.0 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-14.1.1 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-14.1.0 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-13.0.5 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-14.0.0 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-13.0.4 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-13.0.3 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-13.0.2 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-13.0.1 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-13.0.0 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-12.0.7 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-10.4.4 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-7.1.8 app/graphql/resolvers/ansible_variable/path.rb
foreman_ansible-12.0.6 app/graphql/resolvers/ansible_variable/path.rb