Module: Binda::Api

Defined in:
lib/binda/api.rb,
lib/binda/api/engine.rb,
lib/binda/api/fields.rb,
lib/binda/api/version.rb,
app/models/binda/api/application_record.rb,
app/helpers/binda/api/application_helper.rb,
app/controllers/binda/api/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, Fields Classes: ApplicationController, ApplicationRecord, Engine

Constant Summary collapse

VERSION =
'0.1.3'
Schema =
GraphQL::Schema.define do
  mutation(Binda::Api::Types::MutationType)
  query(Binda::Api::Types::QueryType)

  rescue_from ActiveRecord::RecordNotFound do
    'Record not found'
  end
end