Sha256: 055fce739ccac7454b690596828d08809bf668ae3dc552018cc906fa4db6e0cb
Contents?: true
Size: 319 Bytes
Versions: 2
Compression:
Stored size: 319 Bytes
Contents
module Graphiti module Context extend ActiveSupport::Concern module Overrides def sideload_whitelist=(val) super(JSONAPI::IncludeDirective.new(val).to_hash) end end included do class_attribute :sideload_whitelist class << self;prepend Overrides;end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
graphiti-1.0.alpha.1 | lib/graphiti/context.rb |
graphiti-rb-1.0.alpha.1 | lib/graphiti/context.rb |