Class: Prestashop::Mapper::TaxRule

Inherits:
Model
  • Object
show all
Defined in:
lib/prestashop/mapper/models/tax_rule.rb

Class Method Summary collapse

Methods inherited from Model

#hash_lang, #meta_description, #meta_keywords, #meta_title, model, resource

Methods included from Extension

included

Class Method Details

.get_by_id_country(id) ⇒ Object


9
10
11
# File 'lib/prestashop/mapper/models/tax_rule.rb', line 9

def get_by_id_country id 
  where 'filter[id_country]' => id, display: 'full'
end