Class: ABBYY::Cloud::Namespaces::Orders

Inherits:
Base
  • Object
show all
Defined in:
lib/abbyy/cloud/namespaces/orders.rb

Overview

Namespace for operations with orders

See Also:

Instance Method Summary collapse

Instance Method Details

#create(options) ⇒ Object



8
9
10
# File 'lib/abbyy/cloud/namespaces/orders.rb', line 8

def create(options)
  Operations::SubmitOrder.new(settings).call(options)
end

#find(id) ⇒ Object



12
13
14
# File 'lib/abbyy/cloud/namespaces/orders.rb', line 12

def find(id)
  Operations::FindOrder.new(settings).call(id: id)
end