spec/rails_helper.rb
# TODO: Add support for optional relations `has_many :zarasa, if: zarasa2`
# TODO: Support multilevel serialization
Add support for optional relations `has_many :zarasa, if: zarasa2`
TODO: Support multilevel serialization
Add support for optional relations ` has_many : zarasa if : zarasa2 ` TODO : Support multilevel serialization
def all_attributes_included?(attributes, json_response)
    attributes.all? do |attribute|
      json_response.key?(attribute.to_s) || json_response.key?(attribute.to_sym)
    end
  end
def all_attributes_included? ( attributes , json_response ) attributes . all? do | attribute | json_response . key? ( attribute . to_s ) || json_response . key? ( attribute . to_sym ) end end
TODO: Add support for optional relations `has_many :zarasa, if: zarasa2`
TODO: Support multilevel serialization
TODO : Add support for optional relations ` has_many : zarasa if : zarasa2 ` TODO : Support multilevel serialization
attributes
json_response