Module: Castle::ClientActions::Lists

Included in:
Castle::Client
Defined in:
lib/castle/client_actions/lists.rb

Overview

Client actions for lists

Instance Method Summary collapse

Instance Method Details

#create_list(options = {}) ⇒ Object

Parameters:

  • options (Hash) (defaults to: {})


9
10
11
# File 'lib/castle/client_actions/lists.rb', line 9

def create_list(options = {})
  Castle::API::Lists::Create.call(options)
end

#delete_list(options = {}) ⇒ Object

Parameters:

  • options (Hash) (defaults to: {})


14
15
16
# File 'lib/castle/client_actions/lists.rb', line 14

def delete_list(options = {})
  Castle::API::Lists::Delete.call(options)
end

#get_all_lists(options = {}) ⇒ Object

Parameters:

  • options (Hash) (defaults to: {})


19
20
21
# File 'lib/castle/client_actions/lists.rb', line 19

def get_all_lists(options = {})
  Castle::API::Lists::GetAll.call(options)
end

#get_list(options = {}) ⇒ Object

Parameters:

  • options (Hash) (defaults to: {})


24
25
26
# File 'lib/castle/client_actions/lists.rb', line 24

def get_list(options = {})
  Castle::API::Lists::Get.call(options)
end

#query_lists(options = {}) ⇒ Object

Parameters:

  • options (Hash) (defaults to: {})


29
30
31
# File 'lib/castle/client_actions/lists.rb', line 29

def query_lists(options = {})
  Castle::API::Lists::Query.call(options)
end

#update_list(options = {}) ⇒ Object

Parameters:

  • options (Hash) (defaults to: {})


34
35
36
# File 'lib/castle/client_actions/lists.rb', line 34

def update_list(options = {})
  Castle::API::Lists::Update.call(options)
end