Class: Ibrain::Types::BaseInputObject
- Inherits:
-
GraphQL::Schema::InputObject
- Object
- GraphQL::Schema::InputObject
- Ibrain::Types::BaseInputObject
- Defined in:
- app/graphql/ibrain/types/base_input_object.rb
Instance Method Summary collapse
Instance Method Details
#to_params ⇒ Object
8 9 10 11 12 |
# File 'app/graphql/ibrain/types/base_input_object.rb', line 8 def to_params ActionController::Parameters.new( to_h.with_indifferent_access.transform_keys(&:underscore) ) end |