Module: CF

Defined in:
lib/cf.rb,
lib/cf/run.rb,
lib/cf/line.rb,
lib/cf/badge.rb,
lib/cf/client.rb,
lib/cf/account.rb,
lib/cf/station.rb,
lib/cf/version.rb,
lib/cf/test_run.rb,
lib/cf/task_form.rb,
lib/cf/department.rb,
lib/cf/form_field.rb,
lib/cf/human_worker.rb,
lib/cf/input_format.rb,
lib/cf/robot_worker.rb,
lib/cf/gold_standard.rb,
lib/cf/output_format.rb,
lib/cf/custom_task_form.rb

Overview

:nodoc: all

Defined Under Namespace

Modules: Client Classes: Account, Badge, CFError, CustomTaskForm, Department, FormField, GoldStandard, HumanWorker, ImproveStationNotAllowed, InputFormat, Line, OutputFormat, RobotWorker, Run, Station, TaskForm, TestRun

Constant Summary collapse

VERSION =
"0.7.4"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.account_nameObject

Returns the value of attribute account_name.



25
26
27
# File 'lib/cf.rb', line 25

def 
  @account_name
end

.api_keyObject

Returns the value of attribute api_key.



25
26
27
# File 'lib/cf.rb', line 25

def api_key
  @api_key
end

.api_urlObject

Returns the value of attribute api_url.



25
26
27
# File 'lib/cf.rb', line 25

def api_url
  @api_url
end

.api_versionObject

Returns the value of attribute api_version.



25
26
27
# File 'lib/cf.rb', line 25

def api_version
  @api_version
end

Class Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (CF)

    the object that the method was called on



26
27
28
# File 'lib/cf.rb', line 26

def configure
  yield self
end