Class: BulkImports::Projects::Graphql::GetProjectQuery

Inherits:
Object
  • Object
show all
Includes:
Queryable
Defined in:
lib/bulk_imports/projects/graphql/get_project_query.rb

Instance Attribute Summary

Attributes included from Queryable

#context

Instance Method Summary collapse

Methods included from Queryable

#base_path, #data_path, #initialize, #page_info_path, #variables

Instance Method Details

#to_sObject



9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/bulk_imports/projects/graphql/get_project_query.rb', line 9

def to_s
  <<-'GRAPHQL'
  query($full_path: ID!) {
    project(fullPath: $full_path) {
      id
      name
      visibility
      created_at: createdAt
    }
  }
  GRAPHQL
end