Class: Emarsys::Form

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

Overview

Methods for the Form API

Class Method Summary collapse

Methods inherited from DataObject

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

Class Method Details

.collectionHash

List segments

Examples:

Emarsys::Form.collection

Returns:

  • (Hash)

    List of forms



14
15
16
# File 'lib/emarsys/data_objects/form.rb', line 14

def collection
  get 'form', {}
end