class Giphy::TranslateParam

Overview

TranslateParam contains additional parameters that can be used when calling Giphy::Client#translate.

Defined in:

params.cr

Constructors

Instance methods inherited from class Giphy::Param

to_hash : Hash(String, String) to_hash

Constructor Detail

def self.new(weirdness = 0, random_id = "") #

Creates a new TranslateParam with the specified weirdness and random_id.

An ArgumentError is raised if:

  • weirdness is < 0 or > 10

[View source]