Method: Textmagic::REST::Lists#create

Defined in:
lib/textmagic-ruby/rest/lists.rb

#create(params = {}) ⇒ Object

Create new List. Returns List object contains id and link to new List.

The following params keys are supported:

name

List name. Required.

shared

Should this list be shared with sub-accounts. Can be 1 or 0. Defaults 0

Example:

@list = client.lists.create {:name => 'MyList'}


32
33
34
# File 'lib/textmagic-ruby/rest/lists.rb', line 32

def create(params={})
  super params
end