Class: Calculator::SEDEX10

Inherits:
CorreiosBaseCalculator
  • Object
show all
Defined in:
app/models/spree/calculator/sedex10.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.descriptionObject



3
4
5
# File 'app/models/spree/calculator/sedex10.rb', line 3

def self.description
  "SEDEX 10"
end

Instance Method Details

#shipping_codeObject



11
12
13
# File 'app/models/spree/calculator/sedex10.rb', line 11

def shipping_code
  40215
end

#shipping_methodObject



7
8
9
# File 'app/models/spree/calculator/sedex10.rb', line 7

def shipping_method
  :sedex_10
end