Module: REDCap

Defined in:
lib/red_cap.rb,
lib/red_cap/form.rb,
lib/red_cap/client.rb,
lib/red_cap/version.rb,
lib/red_cap/form/fields.rb

Defined Under Namespace

Classes: Client, Form

Constant Summary collapse

VERSION =
"0.2.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.tokenObject

Returns the value of attribute token.



11
12
13
# File 'lib/red_cap.rb', line 11

def token
  @token
end

.urlObject

Returns the value of attribute url.



11
12
13
# File 'lib/red_cap.rb', line 11

def url
  @url
end

Class Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (REDCap)

    the object that the method was called on



7
8
9
# File 'lib/red_cap.rb', line 7

def configure
  yield self
end