Module: Sqoot

Defined in:
lib/sqoot.rb,
lib/sqoot/click.rb,
lib/sqoot/offer.rb,
lib/sqoot/client.rb,
lib/sqoot/request.rb,
lib/sqoot/version.rb,
lib/sqoot/category.rb,
lib/sqoot/provider.rb,
lib/sqoot/commission.rb

Defined Under Namespace

Modules: Category, Click, Commission, Offer, Provider, Request Classes: Client

Constant Summary collapse

VERSION =
"0.0.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.affiliate_tokenObject

Returns the value of attribute affiliate_token.



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

def affiliate_token
  @affiliate_token
end

.authentication_tokenObject

Returns the value of attribute authentication_token.



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

def authentication_token
  @authentication_token
end

Class Method Details

.configure {|affiliate_key, authentication_token| ... } ⇒ Object

Configure default credentials easily

Yields:



16
17
18
19
# File 'lib/sqoot.rb', line 16

def configure
  yield self
  true
end