Class: TaxJp::SocialInsurances::Grade
- Inherits:
-
Object
- Object
- TaxJp::SocialInsurances::Grade
- Defined in:
- lib/tax_jp/social_insurances/grade.rb
Overview
等級
Instance Attribute Summary collapse
-
#daily_standard ⇒ Object
readonly
Returns the value of attribute daily_standard.
-
#grade ⇒ Object
readonly
Returns the value of attribute grade.
-
#monthly_standard ⇒ Object
readonly
Returns the value of attribute monthly_standard.
-
#pension_grade ⇒ Object
readonly
Returns the value of attribute pension_grade.
-
#salary_from ⇒ Object
readonly
Returns the value of attribute salary_from.
-
#salary_to ⇒ Object
readonly
Returns the value of attribute salary_to.
-
#valid_from ⇒ Object
readonly
Returns the value of attribute valid_from.
-
#valid_until ⇒ Object
readonly
Returns the value of attribute valid_until.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Grade
constructor
A new instance of Grade.
Constructor Details
#initialize(attrs = {}) ⇒ Grade
Returns a new instance of Grade.
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/tax_jp/social_insurances/grade.rb', line 9 def initialize(attrs = {}) @valid_from = attrs[:valid_from] @valid_until = attrs[:valid_until] @grade = attrs[:grade] @pension_grade = attrs[:pension_grade] @monthly_standard = attrs[:monthly_standard] @daily_standard = attrs[:daily_standard] @salary_from = attrs[:salary_from] @salary_to = attrs[:salary_to] end |
Instance Attribute Details
#daily_standard ⇒ Object (readonly)
Returns the value of attribute daily_standard.
6 7 8 |
# File 'lib/tax_jp/social_insurances/grade.rb', line 6 def daily_standard @daily_standard end |
#grade ⇒ Object (readonly)
Returns the value of attribute grade.
5 6 7 |
# File 'lib/tax_jp/social_insurances/grade.rb', line 5 def grade @grade end |
#monthly_standard ⇒ Object (readonly)
Returns the value of attribute monthly_standard.
6 7 8 |
# File 'lib/tax_jp/social_insurances/grade.rb', line 6 def monthly_standard @monthly_standard end |
#pension_grade ⇒ Object (readonly)
Returns the value of attribute pension_grade.
5 6 7 |
# File 'lib/tax_jp/social_insurances/grade.rb', line 5 def pension_grade @pension_grade end |
#salary_from ⇒ Object (readonly)
Returns the value of attribute salary_from.
7 8 9 |
# File 'lib/tax_jp/social_insurances/grade.rb', line 7 def salary_from @salary_from end |
#salary_to ⇒ Object (readonly)
Returns the value of attribute salary_to.
7 8 9 |
# File 'lib/tax_jp/social_insurances/grade.rb', line 7 def salary_to @salary_to end |
#valid_from ⇒ Object (readonly)
Returns the value of attribute valid_from.
4 5 6 |
# File 'lib/tax_jp/social_insurances/grade.rb', line 4 def valid_from @valid_from end |
#valid_until ⇒ Object (readonly)
Returns the value of attribute valid_until.
4 5 6 |
# File 'lib/tax_jp/social_insurances/grade.rb', line 4 def valid_until @valid_until end |