Module: WhitLi

Defined in:
lib/whit_li.rb,
lib/whit_li/mash.rb,
lib/whit_li/client.rb,
lib/whit_li/config.rb,
lib/whit_li/errors.rb,
lib/whit_li/version.rb

Defined Under Namespace

Modules: Config, Errors Classes: Client, Mash

Constant Summary collapse

VERSION =
"0.0.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.tokenObject

Returns the value of attribute token.



3
4
5
# File 'lib/whit_li.rb', line 3

def token
  @token
end

Class Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (WhitLi)

    the object that the method was called on



5
6
7
8
# File 'lib/whit_li.rb', line 5

def configure
  yield self
  true
end