Sha256: 812908764a4d8d1e4372770cc42d54c7425cd82fa9dacc447419ea27e03d4b85

Contents?: true

Size: 395 Bytes

Versions: 3

Compression:

Stored size: 395 Bytes

Contents

# https://robots.thoughtbot.com/mygem-configure-block
module JsonapiCompliable
  class Configuration
    # @return [Boolean] Should we raise when the client requests a relationship not defined on the server?
    #   Defaults to true.
    attr_accessor :raise_on_missing_sideload

    # Set defaults
    # @api private
    def initialize
      @raise_on_missing_sideload = true
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jsonapi_compliable-0.11.6 lib/jsonapi_compliable/configuration.rb
jsonapi_compliable-0.11.5 lib/jsonapi_compliable/configuration.rb
jsonapi_compliable-0.11.4 lib/jsonapi_compliable/configuration.rb