Module: Abbyy

Extended by:
Abbyy
Included in:
Abbyy
Defined in:
lib/abbyy.rb,
lib/abbyy/api.rb,
lib/abbyy/xml.rb,
lib/abbyy/task.rb,
lib/abbyy/client.rb,
lib/abbyy/version.rb,
lib/abbyy/exceptions.rb

Defined Under Namespace

Modules: Inflector, Task, XML Classes: API, Client

Constant Summary collapse

VERSION =
"0.2.1"
IncorrectParameters =
Class.new(StandardError)
ProcessingFailed =
Class.new(StandardError)

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#application_idObject

Returns the value of attribute application_id.



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

def application_id
  @application_id
end

#passwordObject

Returns the value of attribute password.



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

def password
  @password
end

Instance Method Details

#configure {|_self| ... } ⇒ Object

Abbyy.configure do |config|

config.application_id = 'application_id'
config.password = 'password'

end

Yields:

  • (_self)

Yield Parameters:

  • _self (Abbyy)

    the object that the method was called on



18
19
20
# File 'lib/abbyy.rb', line 18

def configure
  yield self
end