Class: Prestashop::Mapper::Country

Inherits:
Model
  • Object
show all
Defined in:
lib/prestashop/mapper/models/country.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

.find_by_iso_code(iso_code) ⇒ Object


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

def find_by_iso_code iso_code
  find_by 'filter[iso_code]' => iso_code
end