Class: RestPack::Serializer::Configuration
- Inherits:
-
Object
- Object
- RestPack::Serializer::Configuration
- Defined in:
- lib/restpack_serializer/configuration.rb
Instance Attribute Summary collapse
-
#href_prefix ⇒ Object
Returns the value of attribute href_prefix.
-
#page_size ⇒ Object
Returns the value of attribute page_size.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/restpack_serializer/configuration.rb', line 6 def initialize @href_prefix = '' @page_size = 10 end |
Instance Attribute Details
#href_prefix ⇒ Object
Returns the value of attribute href_prefix.
4 5 6 |
# File 'lib/restpack_serializer/configuration.rb', line 4 def href_prefix @href_prefix end |
#page_size ⇒ Object
Returns the value of attribute page_size.
4 5 6 |
# File 'lib/restpack_serializer/configuration.rb', line 4 def page_size @page_size end |