Module: Representable::Binding::Factories
- Included in:
- Representable::Binding
- Defined in:
- lib/representable/binding.rb
Instance Method Summary collapse
- #deserializer ⇒ Object
- #deserializer_class ⇒ Object
- #populator ⇒ Object
- #populator_class ⇒ Object
- #serializer ⇒ Object
- #serializer_class ⇒ Object
Instance Method Details
#deserializer ⇒ Object
204 205 206 |
# File 'lib/representable/binding.rb', line 204 def deserializer @deserializer ||= deserializer_class.new(self) end |
#deserializer_class ⇒ Object
200 201 202 |
# File 'lib/representable/binding.rb', line 200 def deserializer_class Deserializer end |
#populator ⇒ Object
192 193 194 |
# File 'lib/representable/binding.rb', line 192 def populator @populator ||= populator_class.new(self) end |
#populator_class ⇒ Object
196 197 198 |
# File 'lib/representable/binding.rb', line 196 def populator_class Populator end |
#serializer ⇒ Object
188 189 190 |
# File 'lib/representable/binding.rb', line 188 def serializer @serializer ||= serializer_class.new(self) end |
#serializer_class ⇒ Object
184 185 186 |
# File 'lib/representable/binding.rb', line 184 def serializer_class Serializer end |