lib/ecoportal/api/graphql/query/actions.rb in ecoportal-api-graphql-0.3.15 vs lib/ecoportal/api/graphql/query/actions.rb in ecoportal-api-graphql-0.3.16
- old
+ new
@@ -10,11 +10,11 @@
private
def basic_block(&block)
connection_block = block || default_connection_block
- Proc.new {
+ proc {
query(searchConf: :Search, after: :string, before: :string, first: :int, last: :int) {
currentOrganization {
actions(
searchConf: :searchConf,
after: :after,
@@ -27,10 +27,10 @@
}
}
end
def default_connection_block
- Proc.new {
+ proc {
___Ecoportal__API__GraphQL__Fragment__Pagination
nodes {
___Ecoportal__API__GraphQL__Fragment__Action
}
}