Module: JpEmsFee
- Defined in:
- lib/jp_ems_fee.rb,
lib/jp_ems_fee/version.rb
Constant Summary collapse
- VERSION =
"0.0.4"
Class Method Summary collapse
- .africa(weight) ⇒ Object
- .asia(weight) ⇒ Object
- .central_america(weight) ⇒ Object
- .europa(weight) ⇒ Object
- .middle_east(weight) ⇒ Object
- .north_america(weight) ⇒ Object
- .oceania(weight) ⇒ Object
- .south_america(weight) ⇒ Object
Class Method Details
.africa(weight) ⇒ Object
31 32 33 |
# File 'lib/jp_ems_fee.rb', line 31 def africa(weight) base(weight, __method__.to_s) end |
.asia(weight) ⇒ Object
7 8 9 |
# File 'lib/jp_ems_fee.rb', line 7 def asia(weight) base(weight, __method__.to_s) end |
.central_america(weight) ⇒ Object
23 24 25 |
# File 'lib/jp_ems_fee.rb', line 23 def central_america(weight) oceania(weight) end |
.europa(weight) ⇒ Object
27 28 29 |
# File 'lib/jp_ems_fee.rb', line 27 def europa(weight) base(weight, __method__.to_s) end |
.middle_east(weight) ⇒ Object
19 20 21 |
# File 'lib/jp_ems_fee.rb', line 19 def middle_east(weight) oceania(weight) end |
.north_america(weight) ⇒ Object
15 16 17 |
# File 'lib/jp_ems_fee.rb', line 15 def north_america(weight) oceania(weight) end |
.oceania(weight) ⇒ Object
11 12 13 |
# File 'lib/jp_ems_fee.rb', line 11 def oceania(weight) base(weight, __method__.to_s) end |
.south_america(weight) ⇒ Object
35 36 37 |
# File 'lib/jp_ems_fee.rb', line 35 def south_america(weight) africa(weight) end |