Module: Wrike3

Defined in:
lib/wrike3/base.rb,
lib/wrike3/task.rb,
lib/wrike3/user.rb,
lib/wrike3/error.rb,
lib/wrike3/token.rb,
lib/wrike3/common.rb,
lib/wrike3/folder.rb,
lib/wrike3/account.rb,
lib/wrike3/comment.rb,
lib/wrike3/contact.rb,
lib/wrike3/timelog.rb,
lib/wrike3/version.rb,
lib/wrike3/workflow.rb,
lib/wrike3/attachment.rb

Defined Under Namespace

Modules: Common Classes: Account, Attachment, BadRequest, Base, Comment, Contact, Error, ErrorBase, Folder, NotFound, RequestFailed, Task, Timelog, Token, Unauthorized, User, Workflow

Constant Summary collapse

VERSION =
'0.4.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.access_tokenObject

Returns the value of attribute access_token.



89
90
91
# File 'lib/wrike3/base.rb', line 89

def access_token
  @access_token
end

.api_hostObject

Returns the value of attribute api_host.



89
90
91
# File 'lib/wrike3/base.rb', line 89

def api_host
  @api_host
end

.api_versionObject

Returns the value of attribute api_version.



89
90
91
# File 'lib/wrike3/base.rb', line 89

def api_version
  @api_version
end

.protocolObject

Returns the value of attribute protocol.



89
90
91
# File 'lib/wrike3/base.rb', line 89

def protocol
  @protocol
end

Class Method Details

.configure {|_self| ... } ⇒ Object Also known as: config

Yields:

  • (_self)

Yield Parameters:

  • _self (Wrike3)

    the object that the method was called on



94
95
96
97
# File 'lib/wrike3/base.rb', line 94

def configure
  yield self
  true
end