class

Giphy::SearchParam

Inherits Giphy::Param < Reference < Object

SearchParam contains additional parameters that can be used when calling Giphy::Client#search.

Constructors

new(limit = 25, offset = 0, rating = "", lang = "", random_id = "")

Creates a new SearchParam with the specified limit, offset, rating, lang and random_id.

An ArgumentError is raised if:

  • limit is < 1
  • offset is < 0 or >= 5000
Source