class Giphy::TrendingParam
- Giphy::TrendingParam
- Giphy::Param
- Reference
- Object
Overview
TrendingParam contains additional parameters that can be used when
calling Giphy::Client#trending
.
Defined in:
params.crConstructors
-
.new(limit = 25, offset = 0, rating = "", random_id = "")
Creates a new
TrendingParam
with the specified limit, offset, rating and random_id.
Instance methods inherited from class Giphy::Param
to_hash : Hash(String, String)
to_hash
Constructor Detail
Creates a new TrendingParam
with the specified limit, offset, rating
and random_id.
An ArgumentError
is raised if:
- limit is < 1
- offset is < 0 or >= 5000