Class: GraphQL::Types::Query

Inherits:
BaseObject
  • Object
show all
Defined in:
lib/graph_q_l/types/query.rb

Instance Method Summary collapse

Instance Method Details

#card(**mark) ⇒ Object



21
22
23
# File 'lib/graph_q_l/types/query.rb', line 21

def card **mark
  ok_card nil, **mark
end

#cards(name: nil, type: nil, limit: 10, offset: 0) ⇒ Object



25
26
27
# File 'lib/graph_q_l/types/query.rb', line 25

def cards name: nil, type: nil, limit: 10, offset: 0
  card_search name, type, limit, offset
end