class RelationToJSON::ReflectionBuilder::UnsupportedReflectionType

Public Class Methods

new(reflection) click to toggle source
# File lib/relation_to_json/reflection_builder.rb, line 6
def initialize(reflection)
  @reflection = reflection
end

Public Instance Methods

message() click to toggle source
# File lib/relation_to_json/reflection_builder.rb, line 10
def message
  "Unrecognized reflection type: #{reflection.class}"
end