Module: Castle::ClientActions::ListItems

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

Overview

Client actions for list items

Instance Method Summary collapse

Instance Method Details

#archive_list_item(options = {}) ⇒ Object

Parameters:

  • options (Hash) (defaults to: {})
[View source]

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

def archive_list_item(options = {})
  Castle::API::ListItems::Archive.call(options)
end

#count_list_items(options = {}) ⇒ Object

Parameters:

  • options (Hash) (defaults to: {})
[View source]

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

def count_list_items(options = {})
  Castle::API::ListItems::Count.call(options)
end

#create_list_item(options = {}) ⇒ Object

Parameters:

  • options (Hash) (defaults to: {})
[View source]

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

def create_list_item(options = {})
  Castle::API::ListItems::Create.call(options)
end

#get_list_item(options = {}) ⇒ Object

Parameters:

  • options (Hash) (defaults to: {})
[View source]

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

def get_list_item(options = {})
  Castle::API::ListItems::Get.call(options)
end

#query_list_items(options = {}) ⇒ Object

Parameters:

  • options (Hash) (defaults to: {})
[View source]

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

def query_list_items(options = {})
  Castle::API::ListItems::Query.call(options)
end

#unarchive_list_item(options) ⇒ Object

Parameters:

  • options (Hash)
[View source]

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

def unarchive_list_item(options)
  Castle::API::ListItems::Unarchive.call(options)
end

#update_list_item(options = {}) ⇒ Object

Parameters:

  • options (Hash) (defaults to: {})
[View source]

39
40
41
# File 'lib/castle/client_actions/list_items.rb', line 39

def update_list_item(options = {})
  Castle::API::ListItems::Update.call(options)
end