File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,17 @@ name = "google_#{product_ns.downcase}_#{object.name.underscore}"
2626 supports platform: 'gcp-mm'
2727
2828 filter_table_config = FilterTable.create
29-
3029<% object . all_user_properties . each do |prop | -%>
3130<% unless prop . input -%>
3231<%
3332out = plural ( prop . out_name )
3433-%>
34+
3535 <%= "filter_table_config.add(:#{ out } , field: :#{ prop . out_name } )" -%>
3636<% end # unless prop.input -%>
3737<% end # object.all_user_properties.each do -%>
3838
39+
3940 filter_table_config.connect(self, :fetch_data)
4041
4142<%
6768link_query = object . self_link_query || object . list_url_response
6869-%>
6970 def fetch_data
70- @data = fetch_wrapped_resource(<%= '#{link_query.kind}' -%> , <%= '#{link_query.items}' -%> )
71+ @data = fetch_wrapped_resource(<%= " '#{ link_query . kind } '" -%> , <%= " '#{ link_query . items } '" -%> )
7172 end
7273
7374 def fetch_wrapped_resource(wrap_kind, wrap_path)
You can’t perform that action at this time.
0 commit comments