pstuteville/magentor

Filters Example

edelpero opened this issue · 1 comments

Hi @pstuteville,

You did a great job with your gem.

I've been trying to use some filters, but had no luck.

Could you provide me some example of using simple filters and another using complex filters please?

I really appreciate it! Thanks in advance.

Hi @edelpero,
I do not think complex filters are available on this version of the SOAP API.
I currently run a massively overhauled fork of this gem (https://github.com/lcpriest/magentor)

There is an example of a simple filter here.

def newer_than(date)
  commit('list', created_at: { from: parse_date(date) })
end