lib/apia/definitions/field.rb
# Should this field be inclued for the given value and request
#
# @param value [Object]
# @param request [Apia::Request]
# @return [Boolean]
Should this field be inclued for the given value and request
Should this field be inclued for the given value and request
def include?(value, request)
        return true if @condition.nil?
        @condition.call(value, request) == true
      end
def include? ( value , request ) return true if @condition . nil? @condition . call ( value , request ) == true end
Should this field be inclued for the given value and request
Should this field be inclued for the given value and request
None
Boolean
value
<not_specific>
request
<not_specific>
<not_specific>
None