Class: Emarsys::Language

Inherits:
DataObject show all
Defined in:
lib/emarsys/data_objects/language.rb

Overview

Methods for the Lanugage API

Class Method Summary collapse

Methods inherited from DataObject

delete, get, parameterize_params, post, put, #request

Class Method Details

.collection(account: nil) ⇒ Hash

List languages

Examples:

Emarsys::Language.collection

Returns:

  • (Hash)

    List of languages



15
16
17
# File 'lib/emarsys/data_objects/language.rb', line 15

def collection(account: nil)
  get , 'language', {}
end