module Simplewoo::Client::Match

Public Instance Methods

match(id, options = {})
Alias for: match_for_slider
match_for_slider(id, options = {}) click to toggle source

Returns the matched entities and matched personalities for the slider

@param [Integer] id - The slider id that the matches are for

@return [Hashie::Mash] matches - the matches for the slider

@example Return the entity matches for a slider

Simplewoo::Client.match_for_slider(1).entities
# File lib/simplewoo/client/match.rb, line 12
def match_for_slider(id, options = {})
  get("/sliders/#{id}/match", options)
end
Also aliased as: match