eventbrite/eventbrite-sdk-ruby

View on GitHub
lib/eventbrite_sdk/resource/null_schema_definition.rb

Summary

Maintainability
A
0 mins
Test Coverage
module EventbriteSDK
  class Resource
    class NullSchemaDefinition
      def writeable?(_key)
        true
      end

      def defined_keys
        []
      end

      def dirty_comparable(field)
        field.initial_value
      end
    end
  end
end