Class: GustoEmbedded::Shared::Schema
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::Schema
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/schema.rb
Instance Method Summary collapse
-
#initialize(end_date: nil, holiday_key: nil, holiday_name: nil, start_date: nil) ⇒ Schema
constructor
A new instance of Schema.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(end_date: nil, holiday_key: nil, holiday_name: nil, start_date: nil) ⇒ Schema
Returns a new instance of Schema.
25 26 27 28 29 30 |
# File 'lib/gusto_embedded/models/shared/schema.rb', line 25 def initialize(end_date: nil, holiday_key: nil, holiday_name: nil, start_date: nil) @end_date = end_date @holiday_key = holiday_key @holiday_name = holiday_name @start_date = start_date end |