Class: UU::OS::SheetTemplate::SheetTemplateCheckIn

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os-0.29.16/lib/uu/os/sheet_template/sheet_template_check_in.rb

Overview

See Also:

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from REST::DTO

#initialize, #to_json

Constructor Details

This class inherits a constructor from UU::OS::REST::DTO

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO

Instance Attribute Details

- (Object) code



15
16
17
# File 'uu_os-0.29.16/lib/uu/os/sheet_template/sheet_template_check_in.rb', line 15

def code
  @code
end

- (Object) content



21
22
23
# File 'uu_os-0.29.16/lib/uu/os/sheet_template/sheet_template_check_in.rb', line 21

def content
  @content
end

- (Object) description



18
19
20
# File 'uu_os-0.29.16/lib/uu/os/sheet_template/sheet_template_check_in.rb', line 18

def description
  @description
end

- (Object) name



12
13
14
# File 'uu_os-0.29.16/lib/uu/os/sheet_template/sheet_template_check_in.rb', line 12

def name
  @name
end

- (Object) version_label



24
25
26
# File 'uu_os-0.29.16/lib/uu/os/sheet_template/sheet_template_check_in.rb', line 24

def version_label
  @version_label
end

- (Object) version_strategy



27
28
29
# File 'uu_os-0.29.16/lib/uu/os/sheet_template/sheet_template_check_in.rb', line 27

def version_strategy
  @version_strategy
end

Instance Method Details

- (Object) to_hash



77
78
79
80
81
82
83
# File 'uu_os-0.29.16/lib/uu/os/sheet_template/sheet_template_check_in.rb', line 77

def to_hash 
  hash = super()
  if hash[:versionStrategy].nil?
    hash[:versionStrategy] = UU::OS::Env::VersionStrategy::OVERWRITE_VERSION
  end
  hash
end