Module: BurstSms::ListsDelete

Included in:
API
Defined in:
lib/burstsms/lists_delete.rb

Defined Under Namespace

Classes: Response

Instance Method Summary collapse

Instance Method Details

#delete_list(id) ⇒ Object



6
7
8
9
# File 'lib/burstsms/lists_delete.rb', line 6

def delete_list(id)
  @response = post_to_api(delete_list_body(id))
  Response.parse(@response.body)
end

#delete_list_body(id) ⇒ Object



11
12
13
# File 'lib/burstsms/lists_delete.rb', line 11

def delete_list_body(id)
  build_request("contact-lists.delete", :id => id)
end