krainboltgreene / jsonapi-realizer.rb

Turn JSON:API requests into real records

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Header and Params validations are duplicated when both empty

krainboltgreene opened this issue · comments

MerchantAccountRealizer.new(
  :intent => :create,
  :parameters => {},
  :headers => {}
)
ActiveModel::ValidationError: Validation failed: Parameters can't be blank, Headers can't be blank, Parameters can't be blank, Headers can't be blank