Exception: RelationToJSON::ReflectionBuilder::UnsupportedReflectionType
- Inherits:
-
StandardError
- Object
- StandardError
- RelationToJSON::ReflectionBuilder::UnsupportedReflectionType
- Defined in:
- lib/relation_to_json/reflection_builder.rb
Instance Method Summary collapse
-
#initialize(reflection) ⇒ UnsupportedReflectionType
constructor
A new instance of UnsupportedReflectionType.
- #message ⇒ Object
Constructor Details
#initialize(reflection) ⇒ UnsupportedReflectionType
Returns a new instance of UnsupportedReflectionType.
6 7 8 |
# File 'lib/relation_to_json/reflection_builder.rb', line 6 def initialize(reflection) @reflection = reflection end |
Instance Method Details
#message ⇒ Object
10 11 12 |
# File 'lib/relation_to_json/reflection_builder.rb', line 10 def "Unrecognized reflection type: #{reflection.class}" end |