Class: Blueprinter::Configuration Private

Inherits:
Object
  • Object
show all
Defined in:
lib/blueprinter/configuration.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Configuration.



5
6
7
# File 'lib/blueprinter/configuration.rb', line 5

def initialize
  @generator = JSON
end

Instance Attribute Details

#generatorObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



3
4
5
# File 'lib/blueprinter/configuration.rb', line 3

def generator
  @generator
end