spec/examples/person_template.rb in bumblebee-3.0.1 vs spec/examples/person_template.rb in bumblebee-3.1.0.pre.alpha
- old
+ new
@@ -5,10 +5,10 @@
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
#
-class PersonTemplate < ::Bumblebee::Template
+class PersonTemplate < Bumblebee::Template
column 'ID #', property: 'id',
to_object: :integer
column 'First Name', property: 'first',
through: 'demo'