File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 15
15
16
16
DOJOS_IN_COUNTRY_QUERY = <<~GRAPHQL
17
17
query (
18
+ # TODO: Remove this when JP markers successfully displayed.
18
19
$countryCode: String!,
19
20
$after: String,
20
21
) {
21
22
clubs(
22
23
after: $after,
23
24
filterBy: {
25
+ # TODO: Remove this when JP markers successfully displayed.
24
26
countryCode: $countryCode,
25
27
brand: CODERDOJO,
26
28
verified: true
49
51
GRAPHQL
50
52
51
53
variables = {
52
- countryCode : 'JP'
54
+ # TODO: Remove this when JP markers successfully displayed.
55
+ countryCode : 'JP'
53
56
}
54
57
55
58
def request_data ( variables :)
@@ -61,6 +64,8 @@ def request_data(variables:)
61
64
http . request ( request )
62
65
end
63
66
67
+ # TODO: Remove this when JP markers successfully displayed.
68
+ pp JSON . parse ( response . body , symbolize_names : true )
64
69
JSON . parse ( response . body , symbolize_names : true ) [ :data ] [ :clubs ]
65
70
end
66
71
You can’t perform that action at this time.
0 commit comments