class Giphy::TrendingParam

Overview

TrendingParam contains additional parameters that can be used when calling Giphy::Client#trending.

Defined in:

params.cr

Constructors

Instance methods inherited from class Giphy::Param

to_hash : Hash(String, String) to_hash

Constructor Detail

def self.new(limit = 25, offset = 0, rating = "", random_id = "") #

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

[View source]