Class: InsalesApi::Theme

Inherits:
Base
  • Object
show all
Defined in:
lib/insales_api/theme.rb

Instance Method Summary collapse

Methods inherited from Base

configure, dump_config, for_account, restore_config

Methods included from Resource::Countable

#count

Methods included from Resource::Paginated

#find_each, #find_in_batches

Instance Method Details

#assetsObject



3
4
5
# File 'lib/insales_api/theme.rb', line 3

def assets
  InsalesApi::Asset.all(params: { theme_id: id })
end