@@ -14,9 +14,9 @@ class Configuration
1414 :default_page_size ,
1515 :maximum_page_size ,
1616 :use_text_errors ,
17- :pagination_links ,
18- :record_count_in_meta ,
19- :record_count_meta_key
17+ :top_level_links_include_pagination ,
18+ :top_level_meta_include_record_count ,
19+ :top_level_meta_record_count_key
2020
2121 def initialize
2222 #:underscored_key, :camelized_key, :dasherized_key, or custom
@@ -34,15 +34,15 @@ def initialize
3434 self . default_paginator = :none
3535
3636 # Output pagination links at top level
37- self . pagination_links = true
37+ self . top_level_links_include_pagination = true
3838
3939 self . default_page_size = 10
4040 self . maximum_page_size = 20
4141
4242 # Metadata
4343 # Output record count in top level meta for find operation
44- self . record_count_in_meta = false
45- self . record_count_meta_key = :record_count
44+ self . top_level_meta_include_record_count = false
45+ self . top_level_meta_record_count_key = :record_count
4646
4747 self . use_text_errors = false
4848 end
@@ -82,16 +82,16 @@ def use_text_errors=(use_text_errors)
8282 @use_text_errors = use_text_errors
8383 end
8484
85- def pagination_links = ( pagination_links )
86- @pagination_links = pagination_links
85+ def top_level_links_include_pagination = ( top_level_links_include_pagination )
86+ @top_level_links_include_pagination = top_level_links_include_pagination
8787 end
8888
89- def record_count_in_meta = ( record_count_in_meta )
90- @record_count_in_meta = record_count_in_meta
89+ def top_level_meta_include_record_count = ( top_level_meta_include_record_count )
90+ @top_level_meta_include_record_count = top_level_meta_include_record_count
9191 end
9292
93- def record_count_meta_key = ( record_count_meta_key )
94- @record_count_meta_key = record_count_meta_key
93+ def top_level_meta_record_count_key = ( top_level_meta_record_count_key )
94+ @top_level_meta_record_count_key = top_level_meta_record_count_key
9595 end
9696 end
9797
0 commit comments