Class: Zm::Client::MtaQueue
Instance Attribute Summary collapse
Attributes inherited from Base::Object
#id, #parent, #token
Instance Method Summary
collapse
#soap_admin_connector
#clone, #initialize, #inspect, #instance_variables_map, #logger, #recorded?, #save!, #to_h, #to_s, #update_attribute
Instance Attribute Details
#n ⇒ Object
Also known as:
nb_items
Returns the value of attribute n.
10
11
12
|
# File 'lib/zm/client/mta_queue/mta_queue.rb', line 10
def n
@n
end
|
#name ⇒ Object
Returns the value of attribute name.
10
11
12
|
# File 'lib/zm/client/mta_queue/mta_queue.rb', line 10
def name
@name
end
|
Instance Method Details
#delete!(ids) ⇒ Object
30
31
32
|
# File 'lib/zm/client/mta_queue/mta_queue.rb', line 30
def delete!(ids)
sac.invoke(jsns_builder.to_jsns(Zm::Client::MtaQueueAction::DELETE, ids))
end
|
#hold!(ids) ⇒ Object
22
23
24
|
# File 'lib/zm/client/mta_queue/mta_queue.rb', line 22
def hold!(ids)
sac.invoke(jsns_builder.to_jsns(Zm::Client::MtaQueueAction::HOLD, ids))
end
|
#release!(ids) ⇒ Object
26
27
28
|
# File 'lib/zm/client/mta_queue/mta_queue.rb', line 26
def release!(ids)
sac.invoke(jsns_builder.to_jsns(Zm::Client::MtaQueueAction::RELEASE, ids))
end
|
#requeue!(ids) ⇒ Object
34
35
36
|
# File 'lib/zm/client/mta_queue/mta_queue.rb', line 34
def requeue!(ids)
sac.invoke(jsns_builder.to_jsns(Zm::Client::MtaQueueAction::REQUEUE, ids))
end
|
#server ⇒ Object
14
15
16
|
# File 'lib/zm/client/mta_queue/mta_queue.rb', line 14
def server
@parent
end
|